Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Robert M. Riches Jr" <spamtrap42@verizon.net>
Subject: Re: floating point problem
Date: Thu, 19 Jun 2003 18:42:04 GMT	[thread overview]
Message-ID: <slrnbf40vr.mpc.rob@one.localnet> (raw)
In-Reply-To: 874r2mkon5.fsf@student.uni-tuebingen.de

In article <874r2mkon5.fsf@student.uni-tuebingen.de>, Falk Hueffner wrote:
> Rigo Schultz <schultz@eva.mpg.de> 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.)


  reply	other threads:[~2003-06-19 18:42 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-19 16:32 floating point problem Rigo Schultz
2003-06-19 16:39 ` Falk Hueffner
2003-06-19 18:42   ` Robert M. Riches Jr [this message]
2003-06-20  7:36     ` Rigo Schultz
2003-06-20  7:53       ` Falk Hueffner
2003-06-20  8:25         ` Rigo Schultz
  -- strict thread matches above, loose matches on Subject: below --
2003-06-19 18:32 Rigo Schultz
2003-06-19 18:32 Rigo Schultz
2003-06-19 18:39 Falk Hueffner
2003-06-19 18:39 Falk Hueffner
2003-06-19 18:42 Robert M. Riches Jr
2003-06-19 18:42 Robert M. Riches Jr
2003-06-20  9:36 Rigo Schultz
2003-06-20  9:53 Falk Hueffner
2003-06-20 10:25 Rigo Schultz
2003-06-20 10:25 Rigo Schultz
2003-06-21  9:31 Rigo Schultz
2003-06-21  9:31 Falk Hueffner
2003-06-23  7:00 Rigo Schultz
2003-06-23  7:00 Falk Hueffner
2003-06-24  3:23 Falk Hueffner
2003-06-24  3:23 Rigo Schultz
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox