Article View: alt.comp.lang.learn.c-c++
Article #72Re: Floating point equal to Integer Value ?
From: Karl Heinz Buchegger
Date: Mon, 30 Jul 2001 15:00
Date: Mon, 30 Jul 2001 15:00
12 lines
1615 bytes
1615 bytes
Samantha Fox wrote: > > you can't even use == or != to compare two floats > Oh, you can! But the results of that test are often surprising. -- Karl Heinz Buchegger kbuchegg@gascad.at
Technical Details
Message-ID:
<3B65767F.AFF55ED1@gascad.at>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!62.46.205.138!not-for-mailReferences:
<9iejot$4an2@news.emirates.net.ae> <SGd97.1487$257.47689@ozemail.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b1c0,dbd8a1f951d6b446 X-Google-Attributes: gid10b1c0,public X-Google-Thread: 10d4ba,dbd8a1f951d6b446 X-Google-Attributes: gid10d4ba,public X-Google-Thread: 109fba,dbd8a1f951d6b446 X-Google-Attributes: gid109fba,public X-Google-Thread: 108b44,dbd8a1f951d6b446 X-Google-Attributes: gid108b44,public X-Google-Thread: 108717,dbd8a1f951d6b446 X-Google-Attributes: gid108717,public X-Google-Thread: 114592,dbd8a1f951d6b446 X-Google-Attributes: gid114592,public X-Google-ArrivalTime: 2001-07-30 07:57:23 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!62.46.205.138!not-for-mail From: Karl Heinz Buchegger <kbuchegg@gascad.at> Newsgroups: alt.comp.lang.learn.c-c++,att.lang.c++,comp.lang.c++,comp.programming,comp.sys.lang.c++,csugrad.programming.c Subject: Re: Floating point equal to Integer Value ? Date: Mon, 30 Jul 2001 17:00:15 +0200 Organization: GASCAD Lines: 12 Message-ID: <3B65767F.AFF55ED1@gascad.at> References: <9iejot$4an2@news.emirates.net.ae> <SGd97.1487$257.47689@ozemail.com.au> NNTP-Posting-Host: 62.46.205.138 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 996505040 2631222 62.46.205.138 (16 [95537]) X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en