summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2009-02-07 05:41:24 +0000
committerdas <das@FreeBSD.org>2009-02-07 05:41:24 +0000
commite4a9234f1ff1c789915ac388c883615a078fcde6 (patch)
treefefe203aba4b89ec3a8febd5078abe9f7b066f44 /lib/msun
parent61f77d6544b239afd5b260bfbeb3dee657b478a8 (diff)
downloadFreeBSD-src-e4a9234f1ff1c789915ac388c883615a078fcde6.zip
FreeBSD-src-e4a9234f1ff1c789915ac388c883615a078fcde6.tar.gz
C99 TC2 now wants FP_FAST_FMA* to be defined to 1, if the macros are
defined at all. See also: defect report #223.
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/src/math.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h
index 5ad96a8..521ee3f 100644
--- a/lib/msun/src/math.h
+++ b/lib/msun/src/math.h
@@ -70,12 +70,12 @@ extern const union __nan_un {
/* XXX We need a <machine/math.h>. */
#if defined(__ia64__) || defined(__sparc64__)
-#define FP_FAST_FMA
+#define FP_FAST_FMA 1
#endif
#ifdef __ia64__
-#define FP_FAST_FMAL
+#define FP_FAST_FMAL 1
#endif
-#define FP_FAST_FMAF
+#define FP_FAST_FMAF 1
/* Symbolic constants to classify floating point numbers. */
#define FP_INFINITE 0x01
OpenPOWER on IntegriCloud