Searched refs:roundf (Results 1 – 5 of 5) sorted by relevance
5 #define roundit roundf
33 roundf(float x) in roundf() function
967 TEST(math, roundf) { in TEST() argument972 ASSERT_FLOAT_EQ(1.0f, roundf(0.5f)); in TEST()973 ASSERT_FLOAT_EQ(-1.0f, roundf(-0.5f)); in TEST()974 ASSERT_FLOAT_EQ(0.0f, roundf(0.0f)); in TEST()975 ASSERT_FLOAT_EQ(-0.0f, roundf(-0.0f)); in TEST()976 ASSERT_TRUE(isnanf(roundf(nanf("")))); in TEST()977 ASSERT_FLOAT_EQ(HUGE_VALF, roundf(HUGE_VALF)); in TEST()
336 float roundf(float);