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

Ed Schouten ed at FreeBSD.org
Wed Dec 24 10:13:54 UTC 2014


Author: ed
Date: Wed Dec 24 10:13:53 2014
New Revision: 276176
URL: https://svnweb.freebsd.org/changeset/base/276176

Log:
  Clarify to explain that C99 conforming compilers don't need CMPLX*().
  
  Discussed with: kargl@

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

Modified: head/lib/msun/src/math_private.h
==============================================================================
--- head/lib/msun/src/math_private.h	Wed Dec 24 09:25:16 2014	(r276175)
+++ head/lib/msun/src/math_private.h	Wed Dec 24 10:13:53 2014	(r276176)
@@ -456,9 +456,8 @@ typedef union {
  * to -0.0+I*0.0.
  *
  * The C11 standard introduced the macros CMPLX(), CMPLXF() and CMPLXL()
- * to construct complex values. The functions below are modelled after
- * these macros, with the exception that they cannot be used to
- * construct compile-time complex values.
+ * to construct complex values.  Compilers that conform to the C99
+ * standard require the following functions to avoid the above issues.
  */
 
 #ifndef CMPLXF


More information about the svn-src-all mailing list