Maple_floats
compute values of software float parameters
Calling Sequence
Parameters
Description
Examples
Maple_floats(x)
x
-
expression
The Maple_floats(x) function computes the values of various parameters and constants associated with the arbitrary precision floating-point computation environment. This routine also computes the values of expressions involving these constants.
Maple_floats has option remember, so the constants are computed only once per session. Thus, for example, it is more efficient to compute
than to compute
if the computation is to be done more than once. In particular, it is more efficient if the computation is part of a procedure.
The constants known to Maple_floats are:
MAX_EXP
Maximum exponent
MIN_EXP
Minimum exponent
MAX_FLOAT
Float(1,MAX_EXP)
MIN_FLOAT
Float(1,MIN_EXP)
LN_MAX_FLOAT
evalf(ln(MAX_FLOAT)) - 1 ULP
MAX_DIGITS
Maximum setting of Digits
MAX_BIN_POWER
The largest integer b such that for a floating-point
number x, is computed by the kernel (for larger
exponents, is computed by the library routine
evalf/power)
ULP = "Unit in the Last Place", and for LN_MAX_FLOAT this is computed using Digits = 10.
Note: The values in these examples are the values for the machine on which this help page was generated.
See Also
evalhf[constant]
kernelopts
Download Help Document