Article View: comp.std.c
Article #4643Re: Help, best way to compare doubles
From: Norman Diamond
Date: Tue, 16 Jan 1996 02:37
Date: Tue, 16 Jan 1996 02:37
18 lines
1361 bytes
1361 bytes
Jeff Tomich (jtomich@IntNet.net) wrote in comp.std.c: >Having a hard time to figure out a function on how to compare doubles. By now, some postings have shown how to detect if two floating-point numbers are nearly equal. They're nearly wrong. Floating-point numbers are like Japanese people meeting for the first time, unsure of their relative status in this hierarchical society: if two appear equal, you have to keep computing until they no longer appear equal. [If anyone wants to post a followup, be careful where you post.] -- << If this were the company's opinion, I would not be allowed to post it. >> "I paid money for this car, I pay taxes for vehicle registration and a driver's license, so I can drive in any lane I want, and no innocent victim gets to call the cops just 'cause the lane's not goin' the same direction as me" - J Spammer
Technical Details
Message-ID:
<4df30p$9se@usenet.pa.dec.com>Path:
arc1-ca.pugleaf.net!tko.dec.com!diamondReferences:
<4d1k09$aqq@mercury.IntNet.net>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!tko.dec.com!diamond From: diamond@tko.dec.com (Norman Diamond) Newsgroups: comp.std.c,soc.culture.japan,fj.life.in-japan Subject: Re: Help, best way to compare doubles Followup-To: alt.dev.null Date: 16 Jan 1996 02:37:13 GMT Organization: Digital Equipment Corporation Japan , Tokyo Message-ID: <4df30p$9se@usenet.pa.dec.com> References: <4d1k09$aqq@mercury.IntNet.net> Reply-To: diamond@jrdv04.enet.dec-j.co.jp (Norman Diamond) NNTP-Posting-Host: jit533.tko.dec.com