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

Online Help

MTM

  

single

  

convert to single precision floating point

 

Description

Examples

Description

• 

The single(expr) function evaluates expr numerically at a precision of no less than Digits := 10.  If possible, the computation is done using the floating-point hardware of the underlying system via evalhf (which uses double precision). Otherwise the evaluation is done in single precision.

• 

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

Examples

withMTM:

singleArraysin1,cos1

0.8414709848078970.540302305868140

(1)

See Also

digits

evalhf

MTM[double]

MTM[integer]

 


Download Help Document