A non-FLOAT arg is converted to a FLOAT value, based on implicit type conversion rules. If the argument cannot be converted, an error is reported. For more information, see Data Type Conversions.
Hyperbolic and inverse hyperbolic functions cannot be applied to the following types of arguments:
- BYTE or VARBYTE
- BLOB or CLOB
- CHARACTER or VARCHAR if the server character set is GRAPHIC
Examples: Representative Hyperbolic and Inverse Hyperbolic Function Expressions
The following are representative hyperbolic and inverse hyperbolic function expressions and results.
Expression | Result |
---|---|
COSH(EXP(1)) | 7.61012513866229E 000 |
SINH(1) | 1.17520119364380E 000 |
TANH(0) | 0.00000000000000E 000 |
ACOSH(3) | 1.76274717403909E 000 |
ASINH(LOG(0.1)) | -8.81373587019543E -001 |
ATANH(LN(0.5)) | -8.53988047997524E -001 |