Home
last modified time | relevance | path

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

/bionic/libm/riscv64/
Dfenv.c81 int fesetround(int round) { in fesetround() argument
82 if (round < FE_TONEAREST || round > FE_UPWARD) return -1; in fesetround()
83 __asm__ __volatile__("fsrm %z0" : : "r"(round)); in fesetround()
/bionic/libm/arm64/
Dfenv.c113 int fesetround(int round) { in fesetround() argument
114 if (round < FE_TONEAREST || round > FE_TOWARDZERO) return -1; in fesetround()
118 new_fpcr |= (round << FPCR_RMODE_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/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/tests/
Delftls_dl_test.cpp184 for (int round = 0; round < 2; ++round) { in TEST() local
210 for (int round = 0; round < 32; ++round) { in TEST() local
Dmath_test.cpp1235 TEST(math_h, round) { in TEST() argument
1238 ASSERT_DOUBLE_EQ(1.0, round(0.5)); in TEST()
1239 ASSERT_DOUBLE_EQ(-1.0, round(-0.5)); in TEST()
1240 ASSERT_DOUBLE_EQ(0.0, round(0.0)); in TEST()
1241 ASSERT_DOUBLE_EQ(-0.0, round(-0.0)); in TEST()
1242 ASSERT_TRUE(isnan(round(nan("")))); in TEST()
1243 ASSERT_DOUBLE_EQ(HUGE_VAL, round(HUGE_VAL)); in TEST()
1244 ASSERT_DOUBLE_EQ(-HUGE_VAL, round(-HUGE_VAL)); in TEST()
2136 DoMathDataTest<1>(g_round_intel_data, round); in TEST()
/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.c39 long double roundl(long double a1) { return round(a1); } in roundl()
Dbuiltins.cpp92 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.h244 double round(double __x);
/bionic/libc/tools/
Dposix-2013.txt867 round