Handbook
Glossary
fpow ( x y -- z )
C standard library math functions
Prev:
flog10 ( x -- double )
Next:
fsqrt ( x -- double )
Vocabulary
math
.
libm
Inputs
x
a
real
y
a
real
Outputs
z
a
real
Word description
Calls the power function (
z=x^y
) from the C standard library. User code should call
^
instead.
Definition
USING:
kernel
math.libm.private
system
;
IN:
math.libm
::
fpow
( x y -- z )
x y
(fpow)
:>
result
os
windows?
[
x y result
report-pow-underflow
]
[
result
]
if
;
inline