Searched refs:truncf (Results 1 – 3 of 3) sorted by relevance
31 truncf(float x) in truncf() function
1006 TEST(math, truncf) { in TEST() argument1011 ASSERT_FLOAT_EQ(1.0f, truncf(1.5f)); in TEST()1012 ASSERT_FLOAT_EQ(-1.0f, truncf(-1.5f)); in TEST()1013 ASSERT_FLOAT_EQ(0.0f, truncf(0.0f)); in TEST()1014 ASSERT_FLOAT_EQ(-0.0f, truncf(-0.0f)); in TEST()1015 ASSERT_TRUE(isnan(truncf(nanf("")))); in TEST()1016 ASSERT_FLOAT_EQ(HUGE_VALF, truncf(HUGE_VALF)); in TEST()
362 float truncf(float);