svn commit: r188272 - head/lib/msun/src

David Schultz das at FreeBSD.org
Fri Feb 6 21:41:25 PST 2009


Author: das
Date: Sat Feb  7 05:41:24 2009
New Revision: 188272
URL: http://svn.freebsd.org/changeset/base/188272

Log:
  C99 TC2 now wants FP_FAST_FMA* to be defined to 1, if the macros are
  defined at all. See also: defect report #223.

Modified:
  head/lib/msun/src/math.h

Modified: head/lib/msun/src/math.h
==============================================================================
--- head/lib/msun/src/math.h	Sat Feb  7 05:39:05 2009	(r188271)
+++ head/lib/msun/src/math.h	Sat Feb  7 05:41:24 2009	(r188272)
@@ -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


More information about the svn-src-head mailing list