Handbook
Glossary
e^-1 ( x -- e^x-1 )
Vocabulary
math
.
functions
Inputs
x
an
object
Outputs
e^x-1
an
object
Definition
IN:
math.functions
GENERIC:
e^-1
( x -- e^x-1 )
Methods
USING:
kernel
math
math.functions
;
M:
float
e^-1
dup
abs
0.7
<
[
dup
e^
dup
1.0
=
[
drop
]
[
[
1.0
-
*
]
[
log
/
]
bi
]
if
]
[
e^
1.0
-
]
if
;
inline
USING:
math
math.functions
;
M:
real
e^-1
>float
e^-1
;
inline