Bug#367633: [Patch] Fix build Error math-tests
On Mon, May 22, 2006 at 09:34:54AM +0900, Kazuhiro Inaoka wrote:
> We use math libraries with generic sources in sysdeps(On new arch m32r).
> These seem not to support the folloing macros kind of exception and
> rounding modes. (It depends on implentaion. fenv.h)
> FE_INEXACT, FE_DIVBYZERO, FE_UNDERFLOW, FE_OVERFLOW, FE_INVALID,
> FE_TONEAREST, FE_UPWARD, FE_DOWNWARD, FE_TOWARDZERO
> So build errors (undefined macro) happened at bug_nextafter.c,
> bug-nexttoward.c, test_float.c, test_ifloat.c test_double.c and
> Patches sent were to add to check the macros definition.
If you don't have those macros, then the tests aren't testing what they
say they're testing, and a certain amount of failure is to be expected.