-0.0 (WHAT?)
Richard A. O'Keefe
ok at atlas.otago.ac.nz
Fri Jun 23 00:04:36 UTC 2000
> From: jchludzinski at worldkey.net [mailto:jchludzinski at worldkey.net]
> If I'm not mistaken, the IEEE-754 floating point standard
> don't allow negative 0.0. What's up?
You are mistaken. The IEEE 754 and IEEE 854 most emphatically DO
allow -0.0, and would be in serious trouble if they didn't.
(If you think of +0 as +epsilon, -0 as -epsilon, +oo as 1/epsilon,
and -oo as -1/epsilon it all makes a lot more sense.)
More information about the Squeak-dev
mailing list
|