Difference between revisions of "SHIP:Sail:cosh"

From Serious Documentation
Jump to: navigation, search
(Created page with "__NOTOC__ {{SailFuncTableStart|}}<onlyinclude> |{{SailFunc|cosh}}||{{DataType|Float}}||style="text-align:center;"|v5.1.0||Returns the hyperbolic cos of the given value{{v5}}</...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
{{SailFuncTableStart|}}<onlyinclude>
 
{{SailFuncTableStart|}}<onlyinclude>
|{{SailFunc|cosh}}||{{DataType|Float}}||style="text-align:center;"|v5.1.0||Returns the hyperbolic cos of the given value{{v5}}</onlyinclude>
+
|{{SailFunc|cosh}}||{{DataType|Float}}||style="text-align:center;"|v5.1.0||Calculates the hyperbolic cos of the given value</onlyinclude>
 
|}
 
|}
 
== See Also: ==
 
== See Also: ==
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 35: Line 35:
 
! scope="col" style="text-align:left" | Notes
 
! scope="col" style="text-align:left" | Notes
 
|-
 
|-
|<code>{{SailFunc|toDegrees}}({{SailFunc|cosh}}(1));</code> || 0.000000... ||
+
|<code>{{SailFunc|cosh}}(1);</code> || 0.000000... ||
 
|-
 
|-
|<code>{{SailFunc|toDegrees}}({{SailFunc|cosh}}(10);</code> || 2.993222... ||
+
|<code>{{SailFunc|cosh}}(1.5f);</code> || 2.993222... ||
 
|-
 
|-
|<code>{{SailFunc|toDegrees}}({{SailFunc|cosh}}(100));</code> || 5.298292... ||
+
|<code>{{SailFunc|cosh}}(0.5f);</code> || 5.298292... ||
 
|}
 
|}
 +
 +
[[Category:Trigonometric Functions]]

Latest revision as of 11:33, 14 October 2016

Function Returns Introduced Description
cosh Float v5.1.0 Calculates the hyperbolic cos of the given value

See Also:

Prototype

Float cosh(Float value);

Parameters/Return Value

Parameter Data Type Description
value Float the value to take the hyperbolic cos of
Return Float cosh(value)

Detailed Description

The cosh() function returns the hyperbolic cos of the supplied value</code>

Examples

Example Result Notes
cosh(1); 0.000000...
cosh(1.5f); 2.993222...
cosh(0.5f); 5.298292...