Tanh

Not available in this language yet.
Tanh( value )
Tanh( value )
Tanh( value )
Not available in this language yet.
Tanh( value )

Description

A trigonometric function that returns the hyperbolic tangent of a number.

Parameters

Argument Type Definition and Requirements

value

Number

Take the hyperbolic tangent of this value.

Returns

A number which is the hyperbolic tangent of the value.

Examples

The query in the following example returns the hyperbolic tangent of 1.5:

Not available in this language yet.
Not available in this language yet.
System.out.println(
    client.query(
        Tanh(Value(0.5))
    ).get());
0.46211715726000974
client.query(
  q.Tanh(0.5)
)
.then((ret) => console.log(ret))
0.46211715726000974
Not available in this language yet.
println(Await.result(
  client.query(
    Tanh(0.5)
  ),
  5.seconds
))
0.46211715726000974

Was this article helpful?

We're sorry to hear that.
Tell us how we can improve!
Visit Fauna's Discourse forums or email docs@fauna.com

Thank you for your feedback!