diff options
author | kargl <kargl@FreeBSD.org> | 2013-06-03 19:51:32 +0000 |
---|---|---|
committer | kargl <kargl@FreeBSD.org> | 2013-06-03 19:51:32 +0000 |
commit | 603fd103e6aec3ea0ab008286b41282c47df6be7 (patch) | |
tree | e5feba646e48580667c26ffe4f4620a33e55d5b8 /lib/msun/man | |
parent | bcac12846249a47042ba778ea5db26302c3dde87 (diff) | |
download | FreeBSD-src-603fd103e6aec3ea0ab008286b41282c47df6be7.zip FreeBSD-src-603fd103e6aec3ea0ab008286b41282c47df6be7.tar.gz |
ld80 and ld128 implementations of expm1l(). This code started life
as a fairly faithful implementation of the algorithm found in
PTP Tang, "Table-driven implementation of the Expm1 function
in IEEE floating-point arithmetic," ACM Trans. Math. Soft., 18,
211-222 (1992).
Over the last 18-24 months, the code has under gone significant
optimization and testing.
Reviewed by: bde
Obtained from: bde (most of the optimizations)
Diffstat (limited to 'lib/msun/man')
-rw-r--r-- | lib/msun/man/exp.3 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/msun/man/exp.3 b/lib/msun/man/exp.3 index 5907337..89a2dc5 100644 --- a/lib/msun/man/exp.3 +++ b/lib/msun/man/exp.3 @@ -28,7 +28,7 @@ .\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91 .\" $FreeBSD$ .\" -.Dd July 10, 2012 +.Dd June 3, 2013 .Dt EXP 3 .Os .Sh NAME @@ -41,6 +41,7 @@ .Nm exp2l , .Nm expm1 , .Nm expm1f , +.Nm expm1l , .Nm pow , .Nm powf .Nd exponential and power functions @@ -64,6 +65,8 @@ .Fn expm1 "double x" .Ft float .Fn expm1f "float x" +.Ft long double +.Fn expm1l "long double x" .Ft double .Fn pow "double x" "double y" .Ft float @@ -88,9 +91,10 @@ functions compute the base 2 exponential of the given argument .Fa x . .Pp The -.Fn expm1 +.Fn expm1 , +.Fn expm1f , and the -.Fn expm1f +.Fn expm1l functions compute the value exp(x)\-1 accurately even for tiny argument .Fa x . .Pp |