/* expm1l.c * * Exponential function, minus 1 * Long double precision * * * SYNOPSIS: * * long double x, y, expm1l(); * * y = expm1l( x ); * * * * DESCRIPTION: * * Returns e (2.71828...) raised to the x power, minus 1. * * Range reduction is accomplished by separating the argument * into an integer k and fraction f such that * * x k f * e = 2 e. * * An expansion x + .5 x^2 + x^3 R(x) approximates exp(f) - 1 * in the basic range [-0.5 ln 2, 0.5 ln 2]. * * * ACCURACY: * * Relative error: * arithmetic domain # trials peak rms * IEEE -45,+MAXLOG 200,000 1.2e-19 2.5e-20 * * ERROR MESSAGES: * * message condition value returned * expm1l overflow x > MAXLOG MAXNUM *
*/
/* Cephes Math Library Release 2.9: April, 2001 Copyright 2001 by Stephen L. Moshier
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.