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-19 11:42:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!spamkiller.gnilink.net!nwrddc03.gnilink.net.POSTED!37d89e9d!not-for-mail Newsgroups: comp.os.linux.alpha From: "Robert M. Riches Jr" Subject: Re: floating point problem References: <874r2mkon5.fsf@student.uni-tuebingen.de> Organization: none-at-all Reply-To: spamtrap42@verizon.net Message-ID: User-Agent: slrn/0.9.7.4 (Linux) Date: Thu, 19 Jun 2003 18:42:04 GMT NNTP-Posting-Host: 4.5.29.32 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc03.gnilink.net 1056048124 4.5.29.32 (Thu, 19 Jun 2003 14:42:04 EDT) NNTP-Posting-Date: Thu, 19 Jun 2003 14:42:04 EDT Xref: archiver1.google.com comp.os.linux.alpha:7761 In article <874r2mkon5.fsf@student.uni-tuebingen.de>, Falk Hueffner wrote: > Rigo Schultz writes: > >> It seems that the "float" and "double" range on EV6 are different to >> the x86 systems. Sorry, I'm not familar with that stuff. > > x86 might use 80 bit for some double operation, since that is what the > FPU provides. > >> Here is a short c-source, that shows the difference. But I do'nt >> understand why the Alpha breaks too early. > > I don't quite understand your question... What's happening is that you > do arithmetic with a denormalized number, which traps by default on > Alpha, since it isn't 100% IEEE-compliant. Is that what you wanted to > know? 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. Good luck. Robert Riches spamtrap42@verizon.net (Yes, that is one of my email addresses.)