Difference between revisions of "SHIP:Sail:tanh"

From Serious Documentation
Jump to: navigation, search
(Created page with "__NOTOC__ {{SailFuncTableStart|}}<onlyinclude> |{{SailFunc|tanh}}||{{DataType|Float}}||style="text-align:center;"|v5.1.0||Returns the hyperbolic tan of the given value{{v5}}</...")
 
Line 7: Line 7:
 
*[[SHIP:Sail:Functions|Sail Functions]]
 
*[[SHIP:Sail:Functions|Sail Functions]]
 
*[[SHIP:Sail:Numeric Functions|Sail Numeric Functions]]
 
*[[SHIP:Sail:Numeric Functions|Sail Numeric Functions]]
*[[SHIP:Sail:Trigonomic Functions|Sail Trigonomic Functions]]
+
*[[SHIP:Sail:Trigonometric Functions|Sail Trigonometric Functions]]
  
 
== Prototype ==
 
== Prototype ==
Line 41: Line 41:
 
|<code>{{SailFunc|tanh}}(0.5f);</code> || 0.462117... ||
 
|<code>{{SailFunc|tanh}}(0.5f);</code> || 0.462117... ||
 
|}
 
|}
 +
 +
[[Categories:Trigonometric Functions]]

Revision as of 15:23, 4 October 2016

Function Returns Introduced Description
tanh Float v5.1.0 Returns the hyperbolic tan of the given valueBadge SHIPv5.gif

See Also:

Prototype

Float tanh(Float value);

Parameters/Return Value

Parameter Data Type Description
value Float the value to take the hyperbolic tan of
Return Float tanh(value)

Detailed Description

The tanh() function returns the hyperbolic tan of the supplied value</code>

Examples

Example Result Notes
tanh(1); 0.761594...
tanh(1.5f); 0.905148...
tanh(0.5f); 0.462117...

Categories:Trigonometric Functions