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

Steve Kargl kargl at FreeBSD.org
Sat Aug 30 17:31:54 UTC 2014


Author: kargl
Date: Sat Aug 30 17:31:53 2014
New Revision: 270847
URL: http://svnweb.freebsd.org/changeset/base/270847

Log:
  Fix the order of "const volatile" to be consistent with
  the rest of msun.

Modified:
  head/lib/msun/src/s_tanh.c
  head/lib/msun/src/s_tanhf.c

Modified: head/lib/msun/src/s_tanh.c
==============================================================================
--- head/lib/msun/src/s_tanh.c	Sat Aug 30 17:18:11 2014	(r270846)
+++ head/lib/msun/src/s_tanh.c	Sat Aug 30 17:31:53 2014	(r270847)
@@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
 #include "math.h"
 #include "math_private.h"
 
-static volatile const double tiny = 1.0e-300;
+static const volatile double tiny = 1.0e-300;
 static const double one = 1.0, two = 2.0, huge = 1.0e300;
 
 double

Modified: head/lib/msun/src/s_tanhf.c
==============================================================================
--- head/lib/msun/src/s_tanhf.c	Sat Aug 30 17:18:11 2014	(r270846)
+++ head/lib/msun/src/s_tanhf.c	Sat Aug 30 17:31:53 2014	(r270847)
@@ -19,7 +19,7 @@ __FBSDID("$FreeBSD$");
 #include "math.h"
 #include "math_private.h"
 
-static volatile const float tiny = 1.0e-30;
+static const volatile float tiny = 1.0e-30;
 static const float one=1.0, two=2.0, huge = 1.0e30;
 
 float


More information about the svn-src-head mailing list