From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,47f79c0da38c8a0 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-06-20 20:00:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Rigo Schultz" Newsgroups: comp.os.linux.alpha Subject: Re: floating point problem Date: Fri, 20 Jun 2003 9:36:00 GMT Organization: Posted via Supernews, http://www.supernews.com Message-ID: X-Newsreader: EleBBS/W32 v0.10.rc1 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.os.linux.alpha:7786 (CHARSET: PC-8) (PATH: 263/950 236/150 261/38 140/1 106/2000 123/500 3613/1275 134/10) From: Rigo Schultz Robert M. Riches Jr wrote: > For many of these problems, the solution is to add the > -mieee option to the compile command. This has made a big > difference for me on several packages. -mieee works quite good. but i get wrong results. #include int main(void) { float check; check = 5.877472e-39 / 2.0; printf("Check: %e \n", check); return (0); } on x86:>Check: 2.938736e-39 on alpha:>Check: 5.562685e-309 It's only a little bit different :o( thanks --- BBBS/NT v4.01 Flag-5 * Origin: TCOB1: A slice of life on your plate (2:263/950) -- This message posted from Shurato's Heavenly Sphere Telnet BBS telnet://shurato.darktech.org for abuse issues, please contact me at shurato@shurato.darktech.org Shurato: Admin of SHS.