/* Test whether a basic feholdexcept invocation works. */ #include #include "../basic.h" #pragma STDC FENV_ACCESS ON int main(void) { fenv_t env; if ( feholdexcept(&env) ) errx(1, "feholdexcept"); return 0; }