From a11cc427e9945fb888e00f3c4651fe3eb78b9aba Mon Sep 17 00:00:00 2001 From: martynas Date: Tue, 22 Jul 2008 19:58:40 +0000 Subject: [PATCH] remez -> Remes here, too. for consistency --- lib/libm/noieee_src/n_exp__E.c | 4 ++-- lib/libm/noieee_src/n_log__L.c | 4 ++-- lib/libm/src/e_asin.c | 2 +- lib/libm/src/k_cos.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libm/noieee_src/n_exp__E.c b/lib/libm/noieee_src/n_exp__E.c index 5f7e799bff7..cd08d0e338a 100644 --- a/lib/libm/noieee_src/n_exp__E.c +++ b/lib/libm/noieee_src/n_exp__E.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_exp__E.c,v 1.8 2008/07/18 13:08:58 martynas Exp $ */ +/* $OpenBSD: n_exp__E.c,v 1.9 2008/07/22 19:58:40 martynas Exp $ */ /* $NetBSD: n_exp__E.c,v 1.1 1995/10/10 23:36:45 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -69,7 +69,7 @@ static char sccsid[] = "@(#)exp__E.c 8.1 (Berkeley) 6/4/93"; * and cosh : * sinh(r/2) = r/2 + r * P , cosh(r/2) = 1 + Q . ) * - * The coefficients were obtained by a special Remez algorithm. + * The coefficients were obtained by a special Remes algorithm. * * Approximation error: * diff --git a/lib/libm/noieee_src/n_log__L.c b/lib/libm/noieee_src/n_log__L.c index efd7adac9dc..c28a0268dbc 100644 --- a/lib/libm/noieee_src/n_log__L.c +++ b/lib/libm/noieee_src/n_log__L.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_log__L.c,v 1.6 2008/06/21 08:26:19 martynas Exp $ */ +/* $OpenBSD: n_log__L.c,v 1.7 2008/07/22 19:58:40 martynas Exp $ */ /* $NetBSD: n_log__L.c,v 1.1 1995/10/10 23:37:01 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -53,7 +53,7 @@ static char sccsid[] = "@(#)log__L.c 8.1 (Berkeley) 6/4/93"; * z*(L1 + z*(L2 + z*(... (L7 + z*L8)...))) * * where z=s*s. (See the listing below for Lk's values.) The - * coefficients are obtained by a special Remez algorithm. + * coefficients are obtained by a special Remes algorithm. * * Accuracy: * Assuming no rounding error, the maximum magnitude of the approximation diff --git a/lib/libm/src/e_asin.c b/lib/libm/src/e_asin.c index fb908843196..0d358012280 100644 --- a/lib/libm/src/e_asin.c +++ b/lib/libm/src/e_asin.c @@ -21,7 +21,7 @@ static char rcsid[] = "$NetBSD: e_asin.c,v 1.9 1995/05/12 04:57:22 jtc Exp $"; * asin(x) = x + x*x^2*R(x^2) * where * R(x^2) is a rational approximation of (asin(x)-x)/x^3 - * and its remez error is bounded by + * and its Remes error is bounded by * |(asin(x)-x)/x^3 - R(x^2)| < 2^(-58.75) * * For x in [0.5,1] diff --git a/lib/libm/src/k_cos.c b/lib/libm/src/k_cos.c index 5c7efc77122..eb662b7569d 100644 --- a/lib/libm/src/k_cos.c +++ b/lib/libm/src/k_cos.c @@ -27,7 +27,7 @@ static char rcsid[] = "$NetBSD: k_cos.c,v 1.8 1995/05/10 20:46:22 jtc Exp $"; * [0,pi/4] * 4 14 * cos(x) ~ 1 - x*x/2 + C1*x + ... + C6*x - * where the remez error is + * where the Remes error is * * | 2 4 6 8 10 12 14 | -58 * |cos(x)-(1-.5*x +C1*x +C2*x +C3*x +C4*x +C5*x +C6*x )| <= 2 -- 2.20.1