Bug?

Henry Spencer henry at utzoo.uucp
Sat Oct 14 02:34:50 AEST 1989


In article <10895 at riks.csl.sony.co.jp> diamond at riks. (Norman Diamond) writes:
>... it's easy to imagine.  Every hardware floating-point
>system and most software ones have situations where (a-b)==0 but a != b.

My understanding is that this is impossible in IEEE floating point (the
only floating-point system any sensible designer would use, and increasingly
the only one system designers *do* use).
-- 
A bit of tolerance is worth a  |     Henry Spencer at U of Toronto Zoology
megabyte of flaming.           | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.lang.c mailing list