Home
last modified time | relevance | path

Searched refs:truncf (Results 1 – 3 of 3) sorted by relevance

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_truncf.c31 truncf(float x) in truncf() function
/bionic/tests/
Dmath_test.cpp1006 TEST(math, truncf) { in TEST() argument
1011 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()
/bionic/libm/include/
Dmath.h362 float truncf(float);