andrel nous illumina en ce 2008-06-29 18:32 -->
> yes (except perhaps on very old equipment that had a sign bit and not
> 2s-complement), but that does not stop people from expecting that
> floor(-x+.5)==-floor(x+.5) everywhere.
That expectation come from the fact that many peoples considere 0 to be smaler
than -1, whitch is false. Many peoples have the tendency of ignoring the sign
when quickly comparing values, only concidering the absolute value instead of
the real one.
--
Alain
-------------------------------------------------
A short cut is the longest distance between two points.
Post a reply to this message
|