
Publication GMLC-5.2 - November 1999
646 Mathematical Functions
The argument can be any floating point value or expression, but it must
not be a multiple of ±
π
/
2
radians (±90°), since the tangent of ±
π
/
2
radians
is ±
∞
, and thus undefined.
For example, the following expression is evaluated as 1 since the tangent
of 0.7853 radians (45°) is 1.
Tangent(0.7853)
To convert the argument of the Tangent function from degrees to radians,
multiply by
π
/
180
. For example, the following expression is evaluated as 1
(assuming the user constant Pi has been defined as the value of
π
) since
the tangent of 45° is 1.
Tangent(45 * Pi / 180)
Round
The Round function rounds the argument up or down to the nearest
integer value, as shown below.
+
–
π
/2
–
π
/2
Argument
Comentarios a estos manuales