Searched refs:kDoubleMax (Results 1 – 1 of 1) sorted by relevance
/external/openscreen/util/ |
D | saturate_cast_unittest.cc | 241 constexpr double kDoubleMax = std::numeric_limits<double>::max(); in TEST() local 245 {kDoubleMax, std::numeric_limits<int32_t>::max()}, in TEST() 246 {std::nextafter(kIntMax, kDoubleMax), in TEST() 255 {std::nextafter(kIntMin, -kDoubleMax), in TEST() 257 {-kDoubleMax, std::numeric_limits<int32_t>::min()}, in TEST() 269 constexpr double kDoubleMax = std::numeric_limits<double>::max(); in TEST() local 276 {kDoubleMax, std::numeric_limits<int64_t>::max()}, in TEST() 277 {std::nextafter(kIntMax, kDoubleMax), in TEST() 286 {std::nextafter(kIntMin, -kDoubleMax), in TEST() 288 {-kDoubleMax, std::numeric_limits<int64_t>::min()}, in TEST()
|