Update of /cvsroot/boost-sandbox/boost-sandbox/boost/units/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30299/boost/units/detail
Modified Files:
cmath_gnu_impl.hpp cmath_msvc_impl.hpp cmath_mwcw_impl.hpp
Log Message:
comment out llrint llround - not ISO C++
Index: cmath_gnu_impl.hpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/detail/cmath_gnu_impl.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- cmath_gnu_impl.hpp 16 Mar 2007 18:12:43 -0000 1.1.1.1
+++ cmath_gnu_impl.hpp 15 Apr 2007 07:06:43 -0000 1.2
@@ -147,17 +147,17 @@
return __builtin_hypot(v1,v2);
}
-template<class Y>
-inline long long llrint(const Y& val)
-{
- return __builtin_llrint(val);
-}
-
-template<class Y>
-inline long long llround(const Y& val)
-{
- return __builtin_llround(val);
-}
+//template<class Y>
+//inline long long llrint(const Y& val)
+//{
+// return __builtin_llrint(val);
+//}
+//
+//template<class Y>
+//inline long long llround(const Y& val)
+//{
+// return __builtin_llround(val);
+//}
template<class Y>
inline Y nearbyint(const Y& val)
Index: cmath_mwcw_impl.hpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/detail/cmath_mwcw_impl.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- cmath_mwcw_impl.hpp 16 Mar 2007 18:12:43 -0000 1.1.1.1
+++ cmath_mwcw_impl.hpp 15 Apr 2007 07:06:43 -0000 1.2
@@ -153,17 +153,17 @@
return std::hypot(v1,v2);
}
-template<class Y>
-inline long long llrint BOOST_PREVENT_MACRO_SUBSTITUTION (const Y& val)
-{
- return std::llrint(val);
-}
-
-template<class Y>
-inline long long llround BOOST_PREVENT_MACRO_SUBSTITUTION (const Y& val)
-{
- return std::llround(val);
-}
+//template<class Y>
+//inline long long llrint BOOST_PREVENT_MACRO_SUBSTITUTION (const Y& val)
+//{
+// return std::llrint(val);
+//}
+//
+//template<class Y>
+//inline long long llround BOOST_PREVENT_MACRO_SUBSTITUTION (const Y& val)
+//{
+// return std::llround(val);
+//}
template<class Y>
inline Y nearbyint BOOST_PREVENT_MACRO_SUBSTITUTION (const Y& val)
Index: cmath_msvc_impl.hpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/detail/cmath_msvc_impl.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cmath_msvc_impl.hpp 5 Apr 2007 00:05:59 -0000 1.2
+++ cmath_msvc_impl.hpp 15 Apr 2007 07:06:43 -0000 1.3
@@ -235,17 +235,17 @@
return hypotf_impl::do_hypot(v1,v2,condition);
}
-template<class Y>
-inline long long llrint(const Y& val)
-{
- return static_cast<long long>(rint(val));
-}
-
-template<class Y>
-inline long long llround(const Y& val)
-{
- return static_cast<long long>(round(val));
-}
+//template<class Y>
+//inline long long llrint(const Y& val)
+//{
+// return static_cast<long long>(rint(val));
+//}
+//
+//template<class Y>
+//inline long long llround(const Y& val)
+//{
+// return static_cast<long long>(round(val));
+//}
template<class Y>
inline Y nearbyint(const Y& val)
|