[ << ] [ < ] [?] [ > ] [ >> ]         [??] [??] [???] [ ? ]

6.13 数値函数


[ << ] [ < ] [?] [ > ] [ >> ]         [??] [??] [???] [ ? ]

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

dacos(num)

:: 函数値 Arccos(num) を求める.

dasin(num)

:: 函数値 Arcsin(num) を求める.

datan(num)

:: 函数値 Arctan(num) を求める.

dcos(num)

:: 函数値 cos(num) を求める.

dsin(num)

:: 函数値 sin(num) を求める.

dtan(num)

:: 函数値 tan(num) を求める.

return

倍精度浮動小数

num

[0] 4*datan(1);
3.14159

[ << ] [ < ] [?] [ > ] [ >> ]         [??] [??] [???] [ ? ]

6.13.2 dabs, dexp, dlog, dsqrt

dabs(num)

:: 絶対値 |num| を求める.

dexp(num)

:: 函数値 exp(num) を求める.

dlog(num)

:: 対数値 log(num) を求める.

dsqrt(num)

:: 平行根 sqrt(num) を求める.

return

倍精度浮動小数

num

[0] dexp(1);
2.71828

[ << ] [ < ] [?] [ > ] [ >> ]         [??] [??] [???] [ ? ]

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

ceil(num)
dceil(num)

:: num より大きい最小の整数を求める.

floor(num)
dfloor(num)

:: num より小さい最大の整数を求める.

rint(num)
drint(num)

:: num を整数にまるめる.

return

整数

num

[0] dceil(1.1);
1

[ << ] [ < ] [?] [ > ] [ >> ]

?????10? 22, 2017?texi2html 5.0????????????