Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 2000 05:22:36 -0400
From:      Mark Abene <phiber@radicalmedia.com>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: floating point troubles...
Message-ID:  <20000708052236.D22774@radicalmedia.com>
In-Reply-To: <Pine.BSF.4.21.0007080941070.66274-100000@salmon.nlsystems.com>; from Doug Rabson on Sat, Jul 08, 2000 at 09:42:42AM %2B0100
References:  <20000708040526.C22774@radicalmedia.com> <Pine.BSF.4.21.0007080941070.66274-100000@salmon.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
See my first message on the subject...  Compiling with -mieee made no
difference, I still got the floating exception and core dump.
Disabling SIGFPE was the only sure way to stop this, fpsetmask wasn't doing
the job it should be.  Strange, because fpsetmask *does* work as used in
the lame mp3 encoder.  I don't know if fpsetmask not working is specific to
overflowing a pow(), or if the problem is much broader in scope...

-Mark

On Sat, Jul 08, 2000 at 09:42:42AM +0100, Doug Rabson wrote:
> 
> Try compiling the -mieee flag to gcc. For some programs, the alpha
> requires slightly stricter, slower floating point code to be generated so
> that unusual results (INFs, NaNs etc) can be generated by the kernel's
> floating point emulator.
> 
> -- 
> Doug Rabson				Mail:  dfr@nlsystems.com
> Nonlinear Systems Ltd.			Phone: +44 20 8442 9037
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-alpha" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000708052236.D22774>