Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | "BartC" <bc@freeuk.com> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Quasi 0 |
| Date | 2012-06-04 12:53 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <jqi7kn$iod$1@dont-email.me> (permalink) |
| References | <75ac0f7b-5989-46c4-b35e-e3dbdeddf25a@f14g2000yqe.googlegroups.com> <jqi3ur$u1d$1@dont-email.me> |
"Eric Sosman" <esosman@ieee-dot-org.invalid> wrote in message news:jqi3ur$u1d$1@dont-email.me... > On 6/4/2012 5:32 AM, David RF wrote: >> Is this a good method for test the equality? > > No. >consider the values 1E-20 and 1E-30: They differ > by much less than the typical DBL_EPSILON, yet one is ten billion > times the other. Do you want to consider a ten billion-fold > discrepancy "equal?" I remember having a similar conversation with my bank: I was suggesting that a 0.1% interest rate was, to all intents and purposes, a zero interest rate; they insisted on still calling it an interest-bearing account. Of course, from their point of view, it was still returning an infinitely higher amount of interest than the zero-rated one, even after tax. -- Bartc
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Quasi 0 David RF <davranfor@gmail.com> - 2012-06-04 02:32 -0700
Re: Quasi 0 Noob <root@127.0.0.1> - 2012-06-04 11:56 +0200
Re: Quasi 0 David RF <davranfor@gmail.com> - 2012-06-04 03:05 -0700
Re: Quasi 0 James Kuyper <jameskuyper@verizon.net> - 2012-06-04 07:10 -0400
Re: Quasi 0 David RF <davranfor@gmail.com> - 2012-06-04 04:48 -0700
Re: Quasi 0 David RF <davranfor@gmail.com> - 2012-06-04 04:56 -0700
Re: Quasi 0 "BartC" <bc@freeuk.com> - 2012-06-04 13:05 +0100
Re: Quasi 0 Keith Thompson <kst-u@mib.org> - 2012-06-04 14:55 -0700
Re: Quasi 0 James Kuyper <jameskuyper@verizon.net> - 2012-06-04 08:05 -0400
Re: Quasi 0 nick_keighley_nospam@hotmail.com - 2012-06-05 03:54 -0700
Re: Quasi 0 James Kuyper <jameskuyper@verizon.net> - 2012-06-05 08:07 -0400
Re: Quasi 0 jgk@panix.com (Joe keane) - 2012-06-05 13:32 +0000
Re: Quasi 0 Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-06-04 06:51 -0400
Re: Quasi 0 David RF <davranfor@gmail.com> - 2012-06-04 03:56 -0700
Re: Quasi 0 "BartC" <bc@freeuk.com> - 2012-06-04 12:08 +0100
Re: Quasi 0 David RF <davranfor@gmail.com> - 2012-06-04 04:14 -0700
Re: Quasi 0 James Dow Allen <jdallen2000@yahoo.com> - 2012-06-04 04:25 -0700
Re: Quasi 0 "BartC" <bc@freeuk.com> - 2012-06-04 12:53 +0100
Re: Quasi 0 James Kuyper <jameskuyper@verizon.net> - 2012-06-04 07:55 -0400
Re: Quasi 0 David RF <davranfor@gmail.com> - 2012-06-04 04:59 -0700
csiph-web