[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 6b073770 08/22: Expunge unreferenced fdlibm v
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 6b073770 08/22: Expunge unreferenced fdlibm versioning |
Date: |
Fri, 20 May 2022 22:43:41 -0400 (EDT) |
branch: master
commit 6b0737706f470663804377004be01a0ac3616250
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Expunge unreferenced fdlibm versioning
---
fdlibm_expm1.c.txt | 19 -------------------
fdlibm_log1p.c.txt | 19 -------------------
2 files changed, 38 deletions(-)
diff --git a/fdlibm_expm1.c.txt b/fdlibm_expm1.c.txt
index a9c3d347..f3bee8b2 100644
--- a/fdlibm_expm1.c.txt
+++ b/fdlibm_expm1.c.txt
@@ -45,25 +45,6 @@ extern int signgam;
#define MAXFLOAT ((float)3.40282346638528860e+38)
-enum fdversion {fdlibm_ieee = -1, fdlibm_svid, fdlibm_xopen, fdlibm_posix};
-
-#define _LIB_VERSION_TYPE enum fdversion
-#define _LIB_VERSION _fdlib_version
-
-/* if global variable _LIB_VERSION is not desirable, one may
- * change the following to be a constant by:
- * #define _LIB_VERSION_TYPE const enum version
- * In that case, after one initializes the value _LIB_VERSION (see
- * s_lib_version.c) during compile time, it cannot be modified
- * in the middle of a program
- */
-extern _LIB_VERSION_TYPE _LIB_VERSION;
-
-#define _IEEE_ fdlibm_ieee
-#define _SVID_ fdlibm_svid
-#define _XOPEN_ fdlibm_xopen
-#define _POSIX_ fdlibm_posix
-
struct exception {
int type;
char* name;
diff --git a/fdlibm_log1p.c.txt b/fdlibm_log1p.c.txt
index 38ef29c4..36435295 100644
--- a/fdlibm_log1p.c.txt
+++ b/fdlibm_log1p.c.txt
@@ -45,25 +45,6 @@ extern int signgam;
#define MAXFLOAT ((float)3.40282346638528860e+38)
-enum fdversion {fdlibm_ieee = -1, fdlibm_svid, fdlibm_xopen, fdlibm_posix};
-
-#define _LIB_VERSION_TYPE enum fdversion
-#define _LIB_VERSION _fdlib_version
-
-/* if global variable _LIB_VERSION is not desirable, one may
- * change the following to be a constant by:
- * #define _LIB_VERSION_TYPE const enum version
- * In that case, after one initializes the value _LIB_VERSION (see
- * s_lib_version.c) during compile time, it cannot be modified
- * in the middle of a program
- */
-extern _LIB_VERSION_TYPE _LIB_VERSION;
-
-#define _IEEE_ fdlibm_ieee
-#define _SVID_ fdlibm_svid
-#define _XOPEN_ fdlibm_xopen
-#define _POSIX_ fdlibm_posix
-
struct exception {
int type;
char* name;
- [lmi-commits] [lmi] master updated (c4515973 -> 6c12b4ea), Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master c4e7bd93 01/22: Import expm1() and log1p() from fdlibm, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master e9f2f432 04/22: Canonicalize #include directives, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 5cc39664 03/22: Move a closing brace, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 1fd91fbf 10/22: Rename high- and low-word macros, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master fa7bbb53 05/22: Prefer lmi style, Greg Chicares, 2022/05/20
- [lmi-commits] [lmi] master 6b073770 08/22: Expunge unreferenced fdlibm versioning,
Greg Chicares <=
- [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