File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -82,17 +82,16 @@ void test_part_d3()
8282 // d.3.ii
8383 for (std::size_t i {}; i < N / 3 ; ++i)
8484 {
85- const auto lhs_int {dist (rng)};
8685 const auto rhs_int {dist (rng)};
8786
88- const T lhs {lhs_int * std::numeric_limits<T>::signaling_NaN ()};
87+ const T lhs {std::numeric_limits<T>::signaling_NaN ()};
8988 const T rhs {rhs_int * std::numeric_limits<T>::quiet_NaN ()};
9089
9190 BOOST_TEST (comparetotal (lhs, rhs));
9291 BOOST_TEST (!comparetotal (rhs, lhs));
9392 BOOST_TEST (!comparetotal (rhs, rhs));
9493
95- const T neg_lhs {lhs_int * -std::numeric_limits<T>::signaling_NaN ()};
94+ const T neg_lhs {-std::numeric_limits<T>::signaling_NaN ()};
9695 const T neg_rhs {rhs_int * -std::numeric_limits<T>::quiet_NaN ()};
9796
9897 BOOST_TEST (!comparetotal (neg_lhs, neg_rhs));
You can’t perform that action at this time.
0 commit comments