Handbook
Glossary
cosh ( x -- y )
Factor handbook
»
The language
»
Numbers
»
Mathematical functions
»
Trigonometric and hyperbolic functions
Prev:
acot ( x -- y )
Next:
sinh ( x -- y )
Vocabulary
math
.
functions
Inputs and outputs
x
a
number
y
a
number
Word description
Hyperbolic cosine.
Definition
IN:
math.functions
GENERIC:
cosh
( x -- y )
foldable
flushable
Methods
USING:
kernel
math
math.functions
math.libm
;
M:
complex
cosh
>float-rect
[
[
fcosh
]
[
fcos
]
bi*
*
]
[
[
fsinh
]
[
fsin
]
bi*
*
]
2bi
rect>
;
USING:
math
math.functions
math.libm
;
M:
float
cosh
fcosh
;
inline
USING:
math
math.functions
;
M:
real
cosh
>float
cosh
;
inline