$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r78109 - trunk/libs/math/test
From: john_at_[hidden]
Date: 2012-04-21 04:58:58
Author: johnmaddock
Date: 2012-04-21 04:58:57 EDT (Sat, 21 Apr 2012)
New Revision: 78109
URL: http://svn.boost.org/trac/boost/changeset/78109
Log:
Don't declare over-large constants in test_long_double_support.cpp
Text files modified: 
   trunk/libs/math/test/test_long_double_support.cpp |    10 ++++++++++                              
   1 files changed, 10 insertions(+), 0 deletions(-)
Modified: trunk/libs/math/test/test_long_double_support.cpp
==============================================================================
--- trunk/libs/math/test/test_long_double_support.cpp	(original)
+++ trunk/libs/math/test/test_long_double_support.cpp	2012-04-21 04:58:57 EDT (Sat, 21 Apr 2012)
@@ -105,8 +105,13 @@
        0.125L, 0.124674733385227689957442708712108467587834905641679257885515L,
        -0.125L, -0.124674733385227689957442708712108467587834905641679257885515L,
        1.125L, 0.902267594099095162918416128654829100758989018716070814389152L,
+#if LDBL_MAX_EXP > DBL_MAX_EXP
        1e-500L, 1e-500L,
        1e-1500L, 1e-1500L,
+#else
+       0, 0,
+       0, 0,
+#endif
    }};
    unary_proc = std::sin;
    inv_unary_proc = std::asin;
@@ -122,8 +127,13 @@
        0.125L, 0.125655136575130967792678218629774000758665763892225542668867L,
        -0.125L, -0.125655136575130967792678218629774000758665763892225542668867L,
        1.125L, 2.09257127637217900442373398123488678225994171614872057291399L,
+#if LDBL_MAX_EXP > DBL_MAX_EXP
        1e-500L, 1e-500L,
        1e-1500L, 1e-1500L,
+#else
+       0, 0,
+       0, 0,
+#endif
    }};
    unary_proc = std::tan;
    inv_unary_proc = std::atan;