Searched refs:round (Results 1 – 8 of 8) sorted by relevance
5 #define roundit round
33 round(double x) in round() function
35 #define roundit round
334 fesetround(int round) in fesetround() argument339 if (round & ~_ROUND_MASK) { in fesetround()344 control |= round; in fesetround()349 mxcsr |= round << _SSE_ROUND_SHIFT; in fesetround()
83 int fesetround(int round);
64 long double roundl(long double a1) { return round(a1); } in roundl()
836 TEST(math, round) { in TEST() argument838 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()
270 double round(double);