Maple_floats - Maple Help

Maple_floats

compute values of software float parameters

 Calling Sequence Maple_floats(x)

Parameters

 x - expression

Description

 • 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

$\mathrm{Maple_floats}\left(\frac{\mathrm{MAX_FLOAT}}{\mathrm{LN_MAX_FLOAT}}\right)$

 than to compute

$\frac{\mathrm{Maple_floats}\left(\mathrm{MAX_FLOAT}\right)}{\mathrm{Maple_floats}\left(\mathrm{LN_MAX_FLOAT}\right)}$

 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, ${x}^{r}$ is computed by the kernel (for larger exponents, ${x}^{r}$ 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.

Examples

Note: The values in these examples are the values for the machine on which this help page was generated.

 > $\mathrm{Maple_floats}\left(\mathrm{MAX_FLOAT}\right)$
 ${1.}{×}{{10}}^{{9223372036854775806}}$ (1)
 > $\mathrm{Maple_floats}\left(\frac{\mathrm{sqrt}\left(\mathrm{MAX_FLOAT}\right)}{\mathrm{LN_MAX_FLOAT}}\right)$
 ${4.708630210}{×}{{10}}^{{4611686018427387883}}$ (2)
 > $\mathrm{Maple_floats}\left(\mathrm{MAX_BIN_POWER}\right)$
 ${4611686018427387903}$ (3)