HomeFreeBSD

Add an fenv.h implementation for the alpha port. All of the standard
rS130141Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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@

Details

Provenance
dasAuthored on
Parents
rS130140: Back out revision 1.150, since dwmalone reports that it causes a panic
Branches
Unknown
Tags
Unknown

Event Timeline