Home
last modified time | relevance | path

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

/bionic/libm/amd64/
Dfenv.c231 fesetround(int round) in fesetround() argument
237 if (round & ~X87_ROUND_MASK) in fesetround()
245 control |= round; in fesetround()
253 mxcsr |= round << SSE_ROUND_SHIFT; in fesetround()
/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_round.c38 round(double x) in round() function
61 __weak_reference(round, roundl);
Ds_llround.c5 #define roundit round
Ds_lround.c37 #define roundit round
/bionic/tests/
Delftls_dl_test.cpp226 for (int round = 0; round < 2; ++round) { in TEST() local
252 for (int round = 0; round < 32; ++round) { in TEST() local
Dmath_test.cpp1200 TEST(MATH_TEST, round) { in TEST() argument
1203 ASSERT_DOUBLE_EQ(1.0, round(0.5)); in TEST()
1204 ASSERT_DOUBLE_EQ(-1.0, round(-0.5)); in TEST()
1205 ASSERT_DOUBLE_EQ(0.0, round(0.0)); in TEST()
1206 ASSERT_DOUBLE_EQ(-0.0, round(-0.0)); in TEST()
1207 ASSERT_TRUE(isnan(round(nan("")))); in TEST()
1208 ASSERT_DOUBLE_EQ(HUGE_VAL, round(HUGE_VAL)); in TEST()
1209 ASSERT_DOUBLE_EQ(-HUGE_VAL, round(-HUGE_VAL)); in TEST()
2065 DoMathDataTest<1>(g_round_intel_data, round); in TEST()
/bionic/libm/arm64/
Dfenv.c123 int fesetround(int round) { in fesetround() argument
126 round &= FE_TOWARDZERO; in fesetround()
129 new_fpcr |= (round << FPCR_RMODE_SHIFT); in fesetround()
/bionic/libm/i387/
Dfenv.c355 fesetround(int round) in fesetround() argument
360 if (round & ~ROUND_MASK) { in fesetround()
365 control |= round; in fesetround()
370 mxcsr |= round << _SSE_ROUND_SHIFT; in fesetround()
/bionic/libm/
Dfake_long_double.c40 long double roundl(long double a1) { return round(a1); } in roundl()
Dbuiltins.cpp68 double round(double x) { return __builtin_round(x); } in round() function
Dlibm.map.txt225 round;
/bionic/tests/headers/posix/
Dtgmath_h.c107 TGMATH(round); in tgmath_h()
Dmath_h.c303 FUNCTION(round, double (*f)(double)); in math_h()
/bionic/libc/include/
Dmath.h247 double round(double __x);
/bionic/libc/tools/
Dposix-2013.txt867 round