Handbook
Glossary
asin ( x -- y )
Factor handbook
»
The language
»
Numbers
»
Mathematical functions
»
Trigonometric and hyperbolic functions
Prev:
acos ( x -- y )
Next:
atan ( x -- y )
Vocabulary
math
.
functions
Inputs and outputs
x
a
number
y
a
number
Word description
Inverse trigonometric sine.
Definition
USING:
kernel
math
math.libm
;
IN:
math.functions
:
asin
( x -- y )
dup
[-1,1]?
[
>float
fasin
]
[
i*
asinh
-i*
]
if
;
inline