lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 1646f4c0 13/22: Rename fdlibm entry points


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 1646f4c0 13/22: Rename fdlibm entry points
Date: Fri, 20 May 2022 22:43:42 -0400 (EDT)

branch: master
commit 1646f4c063415457d99b198121088b0ddf8eb621
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Rename fdlibm entry points
---
 fdlibm_expm1.c | 10 ++--------
 fdlibm_log1p.c | 10 ++--------
 2 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/fdlibm_expm1.c b/fdlibm_expm1.c
index 17185875..2b3c439b 100644
--- a/fdlibm_expm1.c
+++ b/fdlibm_expm1.c
@@ -107,12 +107,6 @@ extern double exp FDLIBM_PROTOTYPE((double));
 
 extern int matherr FDLIBM_PROTOTYPE((struct exception *));
 
-/*
- * BSD math library entry points
- */
-extern double expm1 FDLIBM_PROTOTYPE((double));
-extern double log1p FDLIBM_PROTOTYPE((double));
-
 /* @(#)s_expm1.c 1.5 04/04/22 */
 /*
  * ====================================================
@@ -241,9 +235,9 @@ Q4  =   4.00821782732936239552e-06, /* 3ED0CFCA 86E65239 */
 Q5  =  -2.01099218183624371326e-07; /* BE8AFDB7 6E09C32D */
 
 #if defined __STDC__
-    double expm1(double x)
+    double fdlibm_expm1(double x)
 #else  // !defined __STDC__
-    double expm1(x)
+    double fdlibm_expm1(x)
     double x;
 #endif // !defined __STDC__
 {
diff --git a/fdlibm_log1p.c b/fdlibm_log1p.c
index 486762a3..896ec1a9 100644
--- a/fdlibm_log1p.c
+++ b/fdlibm_log1p.c
@@ -107,12 +107,6 @@ extern double exp FDLIBM_PROTOTYPE((double));
 
 extern int matherr FDLIBM_PROTOTYPE((struct exception *));
 
-/*
- * BSD math library entry points
- */
-extern double expm1 FDLIBM_PROTOTYPE((double));
-extern double log1p FDLIBM_PROTOTYPE((double));
-
 /* @(#)s_log1p.c 1.3 95/01/18 */
 /*
  * ====================================================
@@ -211,9 +205,9 @@ Lp7 = 1.479819860511658591e-01;  /* 3FC2F112 DF3E5244 */
 static double zero = 0.0;
 
 #if defined __STDC__
-    double log1p(double x)
+    double fdlibm_log1p(double x)
 #else  // !defined __STDC__
-    double log1p(x)
+    double fdlibm_log1p(x)
     double x;
 #endif // !defined __STDC__
 {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]