Elementary Functions¶

gsl_log1p
(x)¶ This function computes the value of \(\log(1+x)\) in a way that is accurate for small \(x\). It provides an alternative to the BSD math function
log1p(x)
.

gsl_expm1
(x)¶ This function computes the value of \(\exp(x)1\) in a way that is accurate for small \(x\). It provides an alternative to the BSD math function
expm1(x)
.

gsl_hypot
(x, y)¶ This function computes the value of \(\sqrt{x^2 + y^2}\) in a way that avoids overflow. It provides an alternative to the BSD math function
hypot(x,y)
.

gsl_hypot3
(x, y, z)¶ This function computes the value of \(\sqrt{x^2 + y^2 + z^2}\) in a way that avoids overflow.