Original Author Paul Laughton, 2011
Page 59
De Re BASIC!
Note that FLOOR(n) is exactly the same as ROUND(n, 0, "F"), but FLOOR(n) is a little faster. In the same
way, CEIL(n) is the same as ROUND(n, 0, "C"), and INT(n) is the same as ROUND(n, 0, "D").
SQR(<nexp>)
Returns the closest double-precision floating-point approximation of the positive square root of <nexp>.
If the value of <nexp> is negative, the function generates a runtime error.
CBRT(<nexp>)
Returns the closest double-precision floating-point approximation of the cube root of <nexp>.
LOG(<nexp>)
Returns the natural logarithm (base e) of <nexp>.
LOG10(<nexp>)
Returns the base 10 logarithm of the <nexp>.
EXP(<nexp>)
Returns e raised to the <nexp> power.
POW(<nexp1>, <nexp2>)
Returns <nexp1> raised to the <nexp2> power.
HYPOT(<nexp_x>, <nexp_y)
Returns SQR(x
2
+y
2
) without intermediate overflow or underflow.
PI()
Returns the double-precision floating-point value closest to pi.
SIN(<nexp>)
Returns the trigonometric sine of angle <nexp>. The units of the angle are radians.
COS(<nexp>)
Returns the trigonometric cosine of angle <nexp>. The units of the angle are radians.
TAN(<nexp>)
Returns the trigonometric tangent of angle <nexp>. The units of the angle are radians.
SINH(<nexp>)
Returns the trigonometric hyperbolic sine of angle <nexp>. The units of the angle are radians.