bug-gnulib
[Top][All Lists]
Advanced

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

fpieee tweak


From: Bruno Haible
Subject: fpieee tweak
Date: Sun, 26 Feb 2012 13:44:58 +0100
User-agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; )

In the module 'fpieee', we are chosing an OSF/1 compiler option that leads
to nearly IEEE compliant code. According to the GCC documentation, the
equivalent of -mieee is -ieee_with_no_inexact. Experiments show that it
is the same as -ieee.


2012-02-26  Bruno Haible  <address@hidden>

        fpieee: More comments.
        * m4/fpieee.m4 (gl_FP_IEEE): Add more comments.

--- m4/fpieee.m4.orig   Sun Feb 26 13:41:24 2012
+++ m4/fpieee.m4        Sun Feb 26 13:41:17 2012
@@ -1,4 +1,4 @@
-# fpieee.m4 serial 1
+# fpieee.m4 serial 2
 dnl Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -36,9 +36,11 @@
       # 
<http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN3/0600____.HTM>
       if test -n "$GCC"; then
         # GCC has the option -mieee.
+        # For full IEEE compliance (rarely needed), use option 
-mieee-with-inexact.
         CPPFLAGS="$CPPFLAGS -mieee"
       else
-        # Compaq (ex-DEC) C has the option -ieee.
+        # Compaq (ex-DEC) C has the option -ieee, equivalent to 
-ieee_with_no_inexact.
+        # For full IEEE compliance (rarely needed), use option 
-ieee_with_inexact.
         CPPFLAGS="$CPPFLAGS -ieee"
       fi
       ;;




reply via email to

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