cvs commit: src/lib/msun/alpha fenv.c fenv.h
David Schultz
das at FreeBSD.org
Sun Jun 6 09:58:56 GMT 2004
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@
Revision Changes Path
1.1 +131 -0 src/lib/msun/alpha/fenv.c (new)
1.1 +184 -0 src/lib/msun/alpha/fenv.h (new)
More information about the cvs-src
mailing list