Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
atanh ( x -- y )
Factor documentation
>
Factor handbook
>
The language
>
Numbers
>
Mathematical functions
>
Trigonometric and hyperbolic functions
Prev:
asinh ( x -- y )
Next:
asech ( x -- y )
Vocabulary
math.functions
Inputs and outputs
x
a
number
y
a
number
Word description
Inverse hyperbolic tangent.
Definition
USING:
kernel
math
;
IN:
math.functions
:
atanh
( x -- y )
[
1
+
]
[
1
-
neg
]
bi
/
log
2
/
;
inline