Home Data Platform Cloud Reference Redpanda SQL Reference Functions Math tanh Cloud Page options Copy as Markdown Copied! View as plain text Ask AI about this topic Add MCP server to VS Code tanh The tanh() function returns the hyperbolic tangent of a specified numeric argument. Syntax TANH(x) Arguments x: A number of type real or double precision, including zero. Return type Same as the input type (real or double precision). Examples Positive value SELECT TANH(1); tanh -------------------- 0.7615941559557649 (1 row) Negative value TANH(-x) returns the negative of TANH(x): SELECT TANH(-1); tanh --------------------- -0.7615941559557649 (1 row) Zero SELECT TANH(0); tanh ------ 0 (1 row) Back to top Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback 🎉 Thanks for your feedback! sqrt to_char (number)