Spec-Zone.ru › Nushell

math tanh for math

Returns the hyperbolic tangent of the number.

Signature

> math tanh {flags}

Input/output types:

input output
number float
list<number> list<float>

Examples

Apply the hyperbolic tangent to 10*π

> 3.141592 * 10 | math tanh | math round --precision 4
1.0

Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/math_tanh.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API