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