Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: Bug?
Message-ID: <1989Oct13.163450.28345@utzoo.uucp>
Organization: U of Toronto Zoology
References: <19831@mimsy.UUCP> <15852@dartvax.Dartmouth.EDU> <364@capmkt.COM> <14758@bfmny0.UU.NET> <9986@alice.UUCP> <10895@riks.csl.sony.co.jp>
Date: Fri, 13 Oct 89 16:34:50 GMT

In article <10895@riks.csl.sony.co.jp> diamond@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@zoo.toronto.edu
