🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4641

Re: Help, best way to compare doubles

#4641
From: Tanmoy Bhattacharya
Date: Mon, 15 Jan 1996 16:13
19 lines
1317 bytes
--text follows this line--
In article <4ddev4$1vg@stingray.mcnc.org> coats@mcnc.org (Carlie
Coats) writes: 
<snip>
   or (equvalently, but in decently-efficient C):

...though undefined according to the ANSI C standard...

       ( t = a - b )*t < esquared * ( a*a + b*b  + delta )

Cheers
Tanmmoy
--
tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
<http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
Technical Details
Message-ID: <TANMOY.96Jan15091322@qcd.lanl.gov>
Path: arc1-ca.pugleaf.net!newshost.lanl.gov!tanmoy
References: <4d1k09$aqq@mercury.IntNet.net> <4dbos6$o7q@umbc9.umbc.edu> <4ddev4$1vg@stingray.mcnc.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!newshost.lanl.gov!tanmoy
From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
Newsgroups: comp.std.c
Subject: Re: Help, best way to compare doubles
Date: 15 Jan 1996 16:13:22 GMT
Organization: Los Alamos National Laboratory
Message-ID: <TANMOY.96Jan15091322@qcd.lanl.gov>
References: <4d1k09$aqq@mercury.IntNet.net> <4dbos6$o7q@umbc9.umbc.edu>
 <4ddev4$1vg@stingray.mcnc.org>
NNTP-Posting-Host: qcd.lanl.gov
Mime-Version: 1.0
Content-Type: text
In-reply-to: coats@mcnc.org's message of 15 Jan 1996 11:48:52 GMT