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

◆ Powm1()

Function Powm1 ( X As  Double,
Y As  Double,
Optional Info As  Long 
)

x^y - 1

Purpose
Evaluates x^y - 1 accurately in the sense of relative error when y is very small or x is close to 1.
Returns
Double
x^y - 1.
Parameters
[in]XArgument x.
[in]YArgument y.
[out]Info(Optional)
= 0: Successful exit.
= 1: Floating point range error.
Reference
boost/math/special_functions