Changeset View
Changeset View
Standalone View
Standalone View
lib/msun/tests/fenv_test.c
Show First 20 Lines • Show All 533 Lines • ▼ Show 20 Lines | for (pass = 0; pass < 2; pass++) { | ||||
} | } | ||||
} | } | ||||
assert(fetestexcept(FE_ALL_EXCEPT) == 0); | assert(fetestexcept(FE_ALL_EXCEPT) == 0); | ||||
} | } | ||||
int | int | ||||
main(void) | main(void) | ||||
{ | { | ||||
/* Avoid double output after fork() */ | |||||
setvbuf(stdout, NULL, _IONBF, 0); | |||||
printf("1..8\n"); | printf("1..8\n"); | ||||
init_exceptsets(); | init_exceptsets(); | ||||
test_dfl_env(); | test_dfl_env(); | ||||
printf("ok 1 - fenv\n"); | printf("ok 1 - fenv\n"); | ||||
test_fetestclearexcept(); | test_fetestclearexcept(); | ||||
printf("ok 2 - fenv\n"); | printf("ok 2 - fenv\n"); | ||||
test_fegsetexceptflag(); | test_fegsetexceptflag(); | ||||
Show All 14 Lines |