summaryrefslogtreecommitdiffstats
path: root/lib/libm/src/s_expm1.c
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2008-07-20 13:11:00 +0000
committermartynas <martynas@openbsd.org>2008-07-20 13:11:00 +0000
commit71a22d32935aae870159b8b02b43175c08e3a4eb (patch)
treed31f9c13a58ef0863b3cb15859cefed40e452754 /lib/libm/src/s_expm1.c
parentget in the bug fix for pow, from fdlibm 5.3. also adapt it for (diff)
downloadwireguard-openbsd-71a22d32935aae870159b8b02b43175c08e3a4eb.tar.xz
wireguard-openbsd-71a22d32935aae870159b8b02b43175c08e3a4eb.zip
Reme algorithm -> Remes algorithm. in comments
Diffstat (limited to 'lib/libm/src/s_expm1.c')
-rw-r--r--lib/libm/src/s_expm1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libm/src/s_expm1.c b/lib/libm/src/s_expm1.c
index b209d4a9e2c..37a6db5cea6 100644
--- a/lib/libm/src/s_expm1.c
+++ b/lib/libm/src/s_expm1.c
@@ -36,7 +36,7 @@ static char rcsid[] = "$NetBSD: s_expm1.c,v 1.8 1995/05/10 20:47:09 jtc Exp $";
* R1(r**2) = 6/r *((exp(r)+1)/(exp(r)-1) - 2/r)
* = 6/r * ( 1 + 2.0*(1/(exp(r)-1) - 1/r))
* = 1 - r^2/60 + r^4/2520 - r^6/100800 + ...
- * We use a special Reme algorithm on [0,0.347] to generate
+ * We use a special Remes algorithm on [0,0.347] to generate
* a polynomial of degree 5 in r*r to approximate R1. The
* maximum error of this polynomial approximation is bounded
* by 2**-61. In other words,