Update of /cvsroot/boost/boost/boost/numeric/interval
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6401

Modified Files:
        hw_rounding.hpp 
Log Message:
Use proper rounding with GCC on x86-64.

Index: hw_rounding.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/numeric/interval/hw_rounding.hpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- hw_rounding.hpp     4 Jun 2007 15:06:32 -0000       1.10
+++ hw_rounding.hpp     6 Jun 2007 08:51:03 -0000       1.11
@@ -17,7 +17,9 @@
 #define BOOST_NUMERIC_INTERVAL_NO_HARDWARE
 
 // define appropriate specialization of rounding_control for built-in types
-#if defined(__i386__) || defined(_M_IX86) || defined(__BORLANDC__) || 
defined(_M_X64)
+#if defined(__x86_64__) && defined(__USE_ISOC99)
+#  include <boost/numeric/interval/detail/c99_rounding_control.hpp>
+#elif defined(__i386__) || defined(_M_IX86) || defined(__BORLANDC__) || 
defined(_M_X64)
 #  include <boost/numeric/interval/detail/x86_rounding_control.hpp>
 #elif defined(powerpc) || defined(__powerpc__) || defined(__ppc__)
 #  include <boost/numeric/interval/detail/ppc_rounding_control.hpp>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to