Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2014 10:13:54 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276176 - head/lib/msun/src
Message-ID:  <201412241013.sBOADsVD036605@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412241013.sBOADsVD036605>