summaryrefslogtreecommitdiff
path: root/boost/math/cstdfloat/cstdfloat_types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/math/cstdfloat/cstdfloat_types.hpp')
-rw-r--r--boost/math/cstdfloat/cstdfloat_types.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/boost/math/cstdfloat/cstdfloat_types.hpp b/boost/math/cstdfloat/cstdfloat_types.hpp
index 3ffcce2..9e0d00b 100644
--- a/boost/math/cstdfloat/cstdfloat_types.hpp
+++ b/boost/math/cstdfloat/cstdfloat_types.hpp
@@ -356,6 +356,15 @@
#undef BOOST_CSTDFLOAT_FLOAT_32_MAX
#endif
+#if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && defined(__SUNPRO_CC)
+#undef BOOST_CSTDFLOAT_HAS_FLOAT80_NATIVE_TYPE
+#define BOOST_CSTDFLOAT_HAS_FLOAT80_NATIVE_TYPE 0
+#undef BOOST_CSTDFLOAT_HAS_FLOAT128_NATIVE_TYPE
+#define BOOST_CSTDFLOAT_HAS_FLOAT128_NATIVE_TYPE 0
+#undef BOOST_CSTDFLOAT_MAXIMUM_AVAILABLE_WIDTH
+#define BOOST_CSTDFLOAT_MAXIMUM_AVAILABLE_WIDTH 64
+#endif
+
#if(BOOST_CSTDFLOAT_HAS_FLOAT64_NATIVE_TYPE == 1)
typedef BOOST_CSTDFLOAT_FLOAT64_NATIVE_TYPE float64_t;
typedef boost::float64_t float_fast64_t;