msvc_x64_flags.cpp 647 B

123456789101112131415161718192021
  1. /* Boost test/msvc_x64_flags.cpp
  2. * Test for amd64\ieee.c(102) : Assertion failed: (mask&~(_MCW_DN|_MCW_EM|_MCW_RC))==0.
  3. * This happens with MSVC on x64 in Debug mode. See ticket #4964.
  4. *
  5. * Distributed under the Boost Software License, Version 1.0.
  6. * (See accompanying file LICENSE_1_0.txt or
  7. * copy at http://www.boost.org/LICENSE_1_0.txt)
  8. */
  9. #include <boost/numeric/interval.hpp>
  10. #include <boost/test/minimal.hpp>
  11. #include "bugs.hpp"
  12. int test_main(int, char *[]) {
  13. boost::numeric::interval<double> i(0.0, 0.0);
  14. boost::numeric::interval<double> i2 = 60.0 - i;
  15. # ifdef __BORLANDC__
  16. ::detail::ignore_warnings();
  17. # endif
  18. return 0;
  19. }