Default0
return the default value of zero
DefaultOverflow
return the default overflow value
DefaultUnderflow
return the default underflow value
Calling Sequence
Parameters
Description
Thread Safety
Examples
Default0()
DefaultOverflow(s)
DefaultUnderflow(s)
s
-
either 1 or -1
The Default0() function returns +0.0 unless the rounding mode is -infinity, in which case it returns -0.0.
The DefaultOverflow() function returns the system's current default overflow value. The default overflow value is always s * Float(infinity).
The DefaultUnderflow() function returns the system's current default underflow value. The default underflow value is always 0..
The returned values are all software floating-point format. To determine the appropriate hardware floating-point values, enclose the function call in the HFloat constructor.
The Default0, DefaultOverflow and DefaultUnderflow commands are thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
Default0⁡
0.
DefaultUnderflow⁡1
DefaultUnderflow⁡−1
−0.
DefaultOverflow⁡1
Float⁡∞
HFloat⁡DefaultUnderflow⁡−1
See Also
exceptions
float
HFloat
numeric_types
rounding
Download Help Document