fp-exception


Vocabulary
math.floats.env

Class description
Symbols of this type represent floating-point exceptions. They are used to get and set the floating-point unit's exception flags (using fp-exception-flags and set-fp-exception-flags) and to control processor traps (using with-fp-traps). The following symbols are defined:
+fp-invalid-operation+ indicates that an invalid floating-point operation occurred, such as taking the square root of a negative number or dividing zero by zero.
+fp-overflow+ indicates that a floating-point operation gave a result larger than the maximum representable value of the type used to perform the calculation.
+fp-underflow+ indicates that a floating-point operation gave a result smaller than the minimum representable normalized value of the type used to perform the calculation.
+fp-zero-divide+ indicates that a floating-point division by zero was attempted.
+fp-inexact+ indicates that a floating-point operation gave an inexact result that needed to be rounded.


Definition