Commit Graph

3 Commits

Author SHA1 Message Date
Andreas Schwab d0cd7d0212 Fix bug-getcontext test 2012-07-16 18:46:40 +02:00
Chris Metcalf 0af797def3 math: support platforms with limited FP rounding or exception support
For some tests, just claim that fetestexcept() always returns true,
so the rest of the test can be compiled.

For libm-test, provide known bogus values for unsupported rounding
modes, so fesetround() will return failure.

Elsewhere, just add some #ifdefs to avoid code that uses particular
FP exceptions if the exceptions aren't supported.
2012-05-17 08:50:41 -04:00
Ulrich Drepper 75ea32abcd Fix FPU context handling in getcontext on x86-64.
fnstenv on x86-64 seems to clear the state.  Work around.
2011-04-17 21:51:26 -04:00