clampToFloat 5663 Source/core/css/parser/CSSPropertyParser.cpp addProperty(CSSPropertyFlexGrow, cssValuePool().createValue(clampToFloat(flexGrow), CSSPrimitiveValue::CSS_NUMBER), important); clampToFloat 5664 Source/core/css/parser/CSSPropertyParser.cpp addProperty(CSSPropertyFlexShrink, cssValuePool().createValue(clampToFloat(flexShrink), CSSPrimitiveValue::CSS_NUMBER), important); clampToFloat 136 Source/platform/fonts/FontDescription.h void setComputedSize(float s) { m_computedSize = clampToFloat(s); } clampToFloat 137 Source/platform/fonts/FontDescription.h void setSpecifiedSize(float s) { m_specifiedSize = clampToFloat(s); } clampToFloat 129 Source/wtf/MathExtrasTest.cpp TEST(WTF, clampToFloat) clampToFloat 139 Source/wtf/MathExtrasTest.cpp EXPECT_EQ(clampToFloat(maxFloat), maxFloat); clampToFloat 140 Source/wtf/MathExtrasTest.cpp EXPECT_EQ(clampToFloat(minFloat), minFloat); clampToFloat 142 Source/wtf/MathExtrasTest.cpp EXPECT_EQ(clampToFloat(overflowFloat), maxFloat); clampToFloat 143 Source/wtf/MathExtrasTest.cpp EXPECT_EQ(clampToFloat(underflowFloat), minFloat); clampToFloat 145 Source/wtf/MathExtrasTest.cpp EXPECT_EQ(clampToFloat(std::numeric_limits<float>::infinity()), maxFloat); clampToFloat 146 Source/wtf/MathExtrasTest.cpp EXPECT_EQ(clampToFloat(-std::numeric_limits<float>::infinity()), minFloat);