[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.13 Numerical functions


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.13.1 dacos, dasin, datan, dcos, dsin, dtan

dacos(num)

:: Get the value of Arccos of num.

dasin(num)

:: Get the value of Arcsin of num.

datan(num)

:: Get the value of Arctan of num.

dcos(num)

:: Get the value of cos of num.

dsin(num)

:: Get the value of sin of num.

dtan(num)

:: Get the value of tan of num.

return

floating point number

num

number

[0] 4*datan(1);
3.14159

[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.13.2 dabs, dexp, dlog, dsqrt

dabs(num)

:: Get the absolute value of num.

dexp(num)

:: Get the value of expornent of num.

dlog(num)

:: Get the value of logarithm of num.

dsqrt(num)

:: Get the value of square root of num.

return

floating point number

num

number

[0] dexp(1);
2.71828

[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.13.3 ceil, floor, rint, dceil, dfloor, drint

ceil(num)
dceil(num)

:: Get the ceiling integer of num.

floor(num)
dfloor(num)

:: Get the floor integer of num.

rint(num)
drint(num)

:: Get the round integer of num.

return

integer

num

number

[0] dceil(1.1);
1

[ << ] [ < ] [ Up ] [ > ] [ >> ]

This document was generated on October 21, 2017 using texi2html 5.0.