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
Maple_floats⁡MAX_FLOATLN_MAX_FLOAT
than to compute
Maple_floats⁡MAX_FLOATMaple_floats⁡LN_MAX_FLOAT
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, xr is computed by the kernel (for larger
exponents, xr 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.
Maple_floats⁡MAX_FLOAT
1.×109223372036854775806
Maple_floats⁡sqrt⁡MAX_FLOATLN_MAX_FLOAT
4.708630210×104611686018427387883
Maple_floats⁡MAX_BIN_POWER
4611686018427387903
See Also
evalhf[constant]
kernelopts
Download Help Document