double - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MTM

  

double

  

convert to double precision floating point

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

double(A)

Parameters

A

-

an expression, or an array, matrix, or vector of expressions

Description

• 

The double(A) function evaluates each element of A numerically at a precision of Digits:=15.  If possible, the computation is done using the floating-point hardware of the underlying system using evalhf.  The evaluation is done in double precision.

• 

Division by zero will be trapped and Float(infinity) returned instead of raising an error.  

Examples

withMTM:

doubleArraysin1,cos1

0.8414709848078970.540302305868140

(1)

See Also

Digits

evalhf

float(infinity)

MTM[integer]

MTM[single]