DEFINE_PRIMITIVE ("FLOAT-INVALID-OPERATION-EXCEPTION", Prim_float_invalid_operation_exception, 0, 0, 0)
#ifdef FE_INVALID
- FLOAT_EXCEPTIONS_PRIMITIVE (FE_INVALID)
+ FLOAT_EXCEPTIONS_PRIMITIVE (FE_INVALID & FE_ALL_EXCEPT)
#else
UNIMPLEMENTED_FLOAT_EXCEPTIONS_PRIMITIVE ()
#endif
DEFINE_PRIMITIVE ("FLOAT-DIVIDE-BY-ZERO-EXCEPTION", Prim_float_divide_by_zero_exception, 0, 0, 0)
#ifdef FE_DIVBYZERO
- FLOAT_EXCEPTIONS_PRIMITIVE (FE_DIVBYZERO)
+ FLOAT_EXCEPTIONS_PRIMITIVE (FE_DIVBYZERO & FE_ALL_EXCEPT)
#else
UNIMPLEMENTED_FLOAT_EXCEPTIONS_PRIMITIVE ()
#endif
DEFINE_PRIMITIVE ("FLOAT-OVERFLOW-EXCEPTION", Prim_float_overflow_exception, 0, 0, 0)
#ifdef FE_OVERFLOW
- FLOAT_EXCEPTIONS_PRIMITIVE (FE_OVERFLOW)
+ FLOAT_EXCEPTIONS_PRIMITIVE (FE_OVERFLOW & FE_ALL_EXCEPT)
#else
UNIMPLEMENTED_FLOAT_EXCEPTIONS_PRIMITIVE ()
#endif
DEFINE_PRIMITIVE ("FLOAT-UNDERFLOW-EXCEPTION", Prim_float_underflow_exception, 0, 0, 0)
#ifdef FE_UNDERFLOW
- FLOAT_EXCEPTIONS_PRIMITIVE (FE_UNDERFLOW)
+ FLOAT_EXCEPTIONS_PRIMITIVE (FE_UNDERFLOW & FE_ALL_EXCEPT)
#else
UNIMPLEMENTED_FLOAT_EXCEPTIONS_PRIMITIVE ()
#endif
DEFINE_PRIMITIVE ("FLOAT-INEXACT-RESULT-EXCEPTION", Prim_float_inexact_result_exception, 0, 0, 0)
#ifdef FE_INEXACT
- FLOAT_EXCEPTIONS_PRIMITIVE (FE_INEXACT)
+ FLOAT_EXCEPTIONS_PRIMITIVE (FE_INEXACT & FE_ALL_EXCEPT)
#else
UNIMPLEMENTED_FLOAT_EXCEPTIONS_PRIMITIVE ()
#endif
DEFINE_PRIMITIVE ("FLOAT-SUBNORMAL-OPERAND-EXCEPTION", Prim_float_subnormal_operand_exception, 0, 0, 0)
#ifdef FE_DENORMAL
- FLOAT_EXCEPTIONS_PRIMITIVE (FE_DENORMAL)
+ FLOAT_EXCEPTIONS_PRIMITIVE (FE_DENORMAL & FE_ALL_EXCEPT)
#else
UNIMPLEMENTED_FLOAT_EXCEPTIONS_PRIMITIVE ()
#endif