Home
last modified time | relevance | path

Searched refs:round (Results 1 – 8 of 8) sorted by relevance

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_llround.c5 #define roundit round
Ds_round.c33 round(double x) in round() function
Ds_lround.c35 #define roundit round
/bionic/libm/i387/
Dfenv.c334 fesetround(int round) in fesetround() argument
339 if (round & ~_ROUND_MASK) { in fesetround()
344 control |= round; in fesetround()
349 mxcsr |= round << _SSE_ROUND_SHIFT; in fesetround()
/bionic/libm/include/i387/
Dfenv.h83 int fesetround(int round);
/bionic/libm/
Dfake_long_double.c64 long double roundl(long double a1) { return round(a1); } in roundl()
/bionic/tests/
Dmath_test.cpp836 TEST(math, round) { in TEST() argument
838 ASSERT_FLOAT_EQ(1.0, round(0.5)); in TEST()
839 ASSERT_FLOAT_EQ(-1.0, round(-0.5)); in TEST()
840 ASSERT_FLOAT_EQ(0.0, round(0.0)); in TEST()
841 ASSERT_FLOAT_EQ(-0.0, round(-0.0)); in TEST()
842 ASSERT_TRUE(isnan(round(nan("")))); in TEST()
843 ASSERT_FLOAT_EQ(HUGE_VAL, round(HUGE_VAL)); in TEST()
/bionic/libm/include/
Dmath.h270 double round(double);