lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 97b78cec 3/5: Pragmata: always pop after push


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 97b78cec 3/5: Pragmata: always pop after push
Date: Tue, 24 May 2022 22:18:38 -0400 (EDT)

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

    Pragmata: always pop after push
    
    That sloppiness is often not harmful is not a good counterargument.
---
 fdlibm_expm1.c | 3 +++
 fdlibm_log1p.c | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/fdlibm_expm1.c b/fdlibm_expm1.c
index 35e54eee..51632aab 100644
--- a/fdlibm_expm1.c
+++ b/fdlibm_expm1.c
@@ -257,3 +257,6 @@ double fdlibm_expm1(double x)
     }
     return y;
 }
+#if defined __cplusplus && defined LMI_GCC
+#   pragma GCC diagnostic pop
+#endif // defined __cplusplus && defined LMI_GCC
diff --git a/fdlibm_log1p.c b/fdlibm_log1p.c
index 32b95f92..9a7d2a33 100644
--- a/fdlibm_log1p.c
+++ b/fdlibm_log1p.c
@@ -211,3 +211,6 @@ double fdlibm_log1p(double x)
     if(k==0) return f-(hfsq-s*(hfsq+R)); else
              return k*ln2_hi-((hfsq-(s*(hfsq+R)+(k*ln2_lo+c)))-f);
 }
+#if defined __cplusplus && defined LMI_GCC
+#   pragma GCC diagnostic pop
+#endif // defined __cplusplus && defined LMI_GCC



reply via email to

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