File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,15 @@ namespace mpfr = LIBC_NAMESPACE::testing::mpfr;
1818
1919TEST_F (LlvmLibcAtan2f128Test, InQuadRange) {
2020 constexpr StorageType X_COUNT = 123 ;
21- constexpr StorageType X_START = FPBits (0 .25q).uintval ();
22- constexpr StorageType X_STOP = FPBits (4 .0q).uintval ();
21+ constexpr StorageType X_START =
22+ FPBits (static_cast <float128>(0 .25q)).uintval ();
23+ constexpr StorageType X_STOP = FPBits (static_cast <float128>(4 .0q)).uintval ();
2324 constexpr StorageType X_STEP = (X_STOP - X_START) / X_COUNT;
2425
2526 constexpr StorageType Y_COUNT = 137 ;
26- constexpr StorageType Y_START = FPBits (0 .25q).uintval ();
27- constexpr StorageType Y_STOP = FPBits (4 .0q).uintval ();
27+ constexpr StorageType Y_START =
28+ FPBits (static_cast <float128>(0 .25q)).uintval ();
29+ constexpr StorageType Y_STOP = FPBits (static_cast <float128>(4 .0q)).uintval ();
2830 constexpr StorageType Y_STEP = (Y_STOP - Y_START) / Y_COUNT;
2931
3032 auto test = [&](mpfr::RoundingMode rounding_mode) {
You can’t perform that action at this time.
0 commit comments