Home
last modified time | relevance | path

Searched refs:rint (Results 1 - 25 of 74) sorted by relevance

123

/third_party/musl/libc-test/src/functionalext/supplement/math/
H A Drint_ext.c32 * @tc.desc : Verify rint process success and return 0 when param is 2.4
37 int32_t ret = rint(argNum1); in rint_0100()
43 * @tc.desc : Verify rint process success and return 0 when param is 3.9
48 int32_t ret = rint(argNum2); in rint_0200()
54 * @tc.desc : Verify rint process success and return 0 when param is -2.4
59 int32_t ret = rint(argNum3); in rint_0300()
65 * @tc.desc : Verify rint process success and return 0 when param is -3.9
70 int32_t ret = rint(argNum4); in rint_0400()
76 * @tc.desc : Verify rint process success and return 0 when param is 0
81 int32_t ret = rint( in rint_0500()
[all...]
/third_party/musl/src/math/x32/
H A Dexp2l.s61 fsub %st(2) # st(0)=x-rint(x), st(1)=1, st(2)=rint(x)
63 faddp # 2^(x-rint(x))
79 faddp # 2^(x-rint(x))
80 fldt (%esp) # 2^rint(x)
/third_party/musl/src/math/i386/
H A Dexp_ld.s71 fsub %st(2) # st(0)=x-rint(x), st(1)=1, st(2)=rint(x)
73 faddp # 2^(x-rint(x))
89 faddp # 2^(x-rint(x))
90 fldt (%esp) # 2^rint(x)
H A Drint.c3 double rint(double x) in rint() function
/third_party/musl/src/math/x86_64/
H A Dexp2l.s61 fsub %st(2) # st(0)=x-rint(x), st(1)=1, st(2)=rint(x)
63 faddp # 2^(x-rint(x))
79 faddp # 2^(x-rint(x))
80 fldt (%rsp) # 2^rint(x)
/third_party/ffmpeg/libavutil/
H A Dtablegen.h41 #define rint ff_rint macro
45 return rint(x); in ff_llrint()
51 return rint(x); in ff_lrint()
H A Dlibm.h394 #define llrint(x) ((long long)rint(x))
399 #define llrintf(x) ((long long)rint(x))
423 static inline double rint(double x) in rint() function
432 return rint(x); in lrint()
439 return (int)(rint(x)); in lrintf()
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dlrint.c47 x = rint(x); in lrint_slow()
70 return rint(x); in lrint()
H A Dllrint.c7 return rint(x); in llrint()
H A Dnearbyint.c4 /* nearbyint is the same as rint, but it must not raise the inexact exception */
14 x = rint(x); in nearbyint()
H A Dscalb.c31 if (rint(fn) != fn) return (fn-fn)/(fn-fn); in scalb()
H A Drint.c12 double rint(double x) in rint() function
H A Drintl.c6 return rint(x); in rintl()
/third_party/musl/src/math/
H A Dlrint.c47 x = rint(x); in lrint_slow()
70 return rint(x); in lrint()
H A Dllrint.c7 return rint(x); in llrint()
H A Dnearbyint.c4 /* nearbyint is the same as rint, but it must not raise the inexact exception */
14 x = rint(x); in nearbyint()
H A Dscalb.c31 if (rint(fn) != fn) return (fn-fn)/(fn-fn); in scalb()
H A Drint.c12 double rint(double x) in rint() function
H A Drintl.c6 return rint(x); in rintl()
/third_party/musl/libc-test/src/api/
H A Dtgmath.c251 #ifdef rint in f()
252 {double r = rint(x);} in f()
254 #error no rint(x) in f()
/third_party/musl/src/math/s390x/
H A Drint.c5 double rint(double x) in rint() function
13 #include "../rint.c"
/third_party/musl/src/math/aarch64/
H A Drint.c3 double rint(double x) in rint() function
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
H A Dmath_rint_test.cpp17 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the rint interface.
24 bool testResult = DoubleUlpCmp(g_rintData[i].expected, rint(g_rintData[i].input), 1); in HWTEST_F()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Dexponential_biased.cc67 double value = std::rint(interval); in GetSkipCount()
/third_party/musl/libc-test/src/math/
H A Drint.c6 #include "sanity/rint.h"
7 #include "special/rint.h"
26 y = rint(p->x); in main()
30 printf("%s:%d: bad fp exception: %s rint(%a)=%a, want %s", in main()
37 printf("%s:%d: %s rint(%a) want %a got %a ulperr %.3f = %a + %a\n", in main()

Completed in 6 milliseconds

123