Maple_floats - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Group Theory : Numbers : Numerical Functions : Maple_floats

Maple_floats

compute values of software float parameters

 

Calling Sequence

Parameters

Description

Examples

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

Maple_floatsMAX_FLOATLN_MAX_FLOAT

  

than to compute

Maple_floatsMAX_FLOATMaple_floatsLN_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.

Examples

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

Maple_floatsMAX_FLOAT

1.109223372036854775806

(1)

Maple_floatsMAX_FLOATLN_MAX_FLOAT

4.708630210104611686018427387883

(2)

Maple_floatsMAX_BIN_POWER

4611686018427387903

(3)

See Also

evalhf[constant]

kernelopts

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam