cvs commit: src/lib/msun/alpha fenv.c fenv.h

David Schultz das at FreeBSD.ORG
Sun Jun 6 10:08:27 GMT 2004


On Sun, Jun 06, 2004, David Schultz wrote:
> das         2004-06-06 09:58:55 UTC
> 
>   FreeBSD src repository
> 
>   Added files:
>     lib/msun/alpha       fenv.c fenv.h 
>   Log:
>   Add an fenv.h implementation for the alpha port.  All of the standard
>   features appear to work, subject to the caveat that you tell gcc you
>   want standard rather than recklessly fast behavior
>   (-mieee-with-inexact -mfp-rounding-mode=d).
>   
>   The non-standard feature of delivering a SIGFPE when an application
>   raises an unmasked exception does not work, presumably due to a kernel
>   bug.  This isn't so bad given that floating-point exceptions on the
>   Alpha architecture are not precise, so making them useful in userland
>   requires a significant amount of wizardry.
>   
>   Reviewed by:    standards@

Some bugs in the kernel's floating-point emulation routines were fixed
on May 6.  You should have a more recent kernel if you want to access
the floating-point environment.


More information about the cvs-src mailing list