XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ powm1()

double powm1 ( double  x,
double  y 
)

x^y - 1

Purpose
powm1 evaluates x^y - 1 accurately in the sense of relative error when y is very small or x is close to 1.
Returns
x^y - 1.
Parameters
[in]xArgument x.
[in]yArgument y.
Error handling
  • Range error (ERANGE) may occur.
Reference
boost/math/special_functions