|
|
◆ Expm1_sub()
| Sub Expm1_sub |
( |
Ret As |
Double, |
|
|
X As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
exp(x) - 1 (Subroutine version)
- Purpose
- Computes exp(x) - 1. For small magnitude values of x, expm1 may be more accurate than Exp(X) - 1.
- Parameters
-
| [out] | Ret | exp(x) - 1. |
| [in] | X | Argument x. |
| [out] | Info | (Optional)
= 0: Successful exit.
= 1: Floating point range error. |
|