|
|
◆ Powm1_sub()
| Sub Powm1_sub |
( |
Ret As |
Double, |
|
|
X As |
Double, |
|
|
Y As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
x^y - 1 (Subroutine version)
- Purpose
- Evaluates x^y - 1 accurately in the sense of relative error when y is very small or x is close to 1.
- Parameters
-
| [out] | Ret | x^y - 1. |
| [in] | X | Argument x. |
| [in] | Y | Argument y. |
| [out] | Info | (Optional)
= 0: Successful exit.
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|