SQL/MX 2.x Reference Manual (H06.04+)

SQL/MX Functions and Expressions
HP NonStop SQL/MX Reference Manual540440-003
9-149
TAN Function
TAN Function
The TAN function returns the tangent of a numeric value expression, where the
expression is an angle expressed in radians.
TAN is an SQL/MX extension.
numeric-expression
is an SQL numeric value expression that specifies the value for the argument of
the TAN function. See Numeric Value Expressions on page 6-48.
Examples of TAN
This function returns the value 3.64008908293626896E-001, or approximately
0.3640, the tangent of 0.3491 (which is 20 degrees):
TAN (0.3491)
TANH Function
The TANH function returns the hyperbolic tangent of a numeric value expression,
where the expression is an angle expressed in radians.
TANH is an SQL/MX extension.
numeric-expression
is an SQL numeric value expression that specifies the value for the argument of
the TANH function. See Numeric Value Expressions on page 6-48.
Examples of TANH
This function returns the value 8.48283639957513088E-001 or approximately
0.8483, the hyperbolic tangent of 1.25:
TANH (1.25)
TAN (numeric-expression)
TANH (numeric-expression)