[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__
{
- [lmi-commits] [lmi] master cadb36d4 14/22: Don't include any fdlibm header, (continued)
- [lmi-commits] [lmi] master cadb36d4 14/22: Don't include any fdlibm header, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 5b1ef5bb 15/22: Add prototypes, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master dd3abb11 18/22: Demonstrate a defect, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master af8d3ac0 21/22: Rationalize indentation of preprocessor directives, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 324e171e 02/22: Rectify whitespace, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 15b1aa35 11/22: Add license and copyright boilerplate, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 4ec9da1f 12/22: Rename fdlibm sources, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master e8a859a3 06/22: Rename prototyping macro, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 078e9a1c 16/22: Ignore certain diagnostics, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 2d514bdc 09/22: Allow some common macros, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 1646f4c0 13/22: Rename fdlibm entry points,
Greg Chicares <=
- [lmi-commits] [lmi] master 75dc2686 17/22: Write unambiguous braces, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 9e608afe 20/22: Remove debugging output for tests that now succeed, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 2563b0f6 07/22: Expunge prototypes for unreferenced functions, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master c6902b0d 19/22: Fix the defect just noted, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 6c12b4ea 22/22: Specify widths of some integers, Greg Chicares, 2022/05/20