[MLton-devel] Int-inf shifts
Stephen Weeks
MLton@mlton.org
Thu, 31 Oct 2002 17:50:43 -0800
> I agree that you do implement floor(i / 2^n), but my claim is that that is not
> what they meant and it doesn't agree with the textual description:
> shift i to the right by n bit positions
> Also I have never seen a language that used that operation.
> I would mail Reppy to see if that was what he had in mind. The notion of
> rounding towards negative infinity seems pretty bizzare since it isn't
> compatible with thinking of the left hand side as a sequence of bits.
Hmmm. Where did I go wrong in my example? The two notions seem to
coincide.
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel