Home
last modified time | relevance | path

Searched refs:neg_zero_test (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/multiprecision/test/
Dtest_fpclassify.cpp339 T neg_zero_test = -(std::numeric_limits<T>::min)(); in test() local
340 neg_zero_test /= (std::numeric_limits<T>::max)(); in test()
341 if (std::numeric_limits<T>::has_infinity && (one / neg_zero_test < 0)) in test()
345 std::cout << neg_zero_test << std::endl; in test()
346 BOOST_CHECK_EQUAL(neg_zero_test, 0); in test()
347 BOOST_CHECK((::boost::math::sign)(neg_zero_test) == 0); in test()
349 BOOST_CHECK((::boost::math::signbit)(neg_zero_test) > 0); in test()
352 BOOST_CHECK((::boost::math::signbit)(boost::math::changesign(neg_zero_test)) == 0); in test()
353 BOOST_CHECK_EQUAL(boost::math::changesign(neg_zero_test), 0); in test()
358 BOOST_CHECK((::boost::math::signbit)(boost::math::copysign(neg_zero_test, one)) == 0); in test()
[all …]
Dtest_sf_import_c99.cpp209 T neg_zero_test = -(std::numeric_limits<T>::min)(); in test() local
210 neg_zero_test /= (std::numeric_limits<T>::max)(); in test()
212 …:is_interval_number<T>::value && std::numeric_limits<T>::has_infinity && (one / neg_zero_test < 0); in test()