MTM
single
convert to single precision floating point
Description
Examples
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.
with⁡MTM:
single⁡Array⁡sin⁡1,cos⁡1
0.8414709848078970.540302305868140
See Also
digits
evalhf
MTM[double]
MTM[integer]
Download Help Document