Home
last modified time | relevance | path

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

/external/libchrome/base/numerics/
Dsafe_numerics_unittest.cc619 double double_large = numeric_limits<double>::max(); in TEST() local
664 EXPECT_EQ(saturated_cast<int>(double_large), numeric_limits<int>::max()); in TEST()
665 EXPECT_EQ(saturated_cast<float>(double_large), double_infinity); in TEST()
666 EXPECT_EQ(saturated_cast<float>(-double_large), -double_infinity); in TEST()
/external/libweave/third_party/chromium/base/numerics/
Dsafe_numerics_unittest.cc615 double double_large = numeric_limits<double>::max(); in TEST() local
660 EXPECT_EQ(saturated_cast<int>(double_large), numeric_limits<int>::max()); in TEST()
661 EXPECT_EQ(saturated_cast<float>(double_large), double_infinity); in TEST()
662 EXPECT_EQ(saturated_cast<float>(-double_large), -double_infinity); in TEST()