XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ 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]Retx^y - 1.
[in]XArgument x.
[in]YArgument y.
[out]Info(Optional)
= 0: Successful exit.
= 1: Floating point range error.
Reference
boost/math/special_functions