Home
last modified time | relevance | path

Searched refs:rint (Results 1 – 25 of 140) sorted by relevance

123456

/external/valgrind/memcheck/tests/x86/
Dmore_x86_fp.stdout.exp56 rint(a) = 0.000000
60 rint(a) = 0.000000
64 rint(a) = 1.000000
68 rint(a) = 0.000000
76 rint(a) = -0.000000
80 rint(a) = -1.000000
84 rint(a) = -0.000000
88 rint(a) = -0.000000
96 rint(a) = 0.000000
100 rint(a) = 0.000000
[all …]
/external/valgrind/memcheck/tests/amd64/
Dmore_x87_fp.stdout.exp54 rint(a) = 0.000000
58 rint(a) = 0.000000
62 rint(a) = 1.000000
66 rint(a) = 0.000000
74 rint(a) = -0.000000
78 rint(a) = -1.000000
82 rint(a) = -0.000000
86 rint(a) = -0.000000
94 rint(a) = 0.000000
98 rint(a) = 0.000000
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dstrlen.c20 ffi_arg rint; in main() local
31 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); in main()
32 CHECK(rint == 1); in main()
35 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); in main()
36 CHECK(rint == 7); in main()
39 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); in main()
40 CHECK(rint == 25); in main()
Dstrlen2.c21 ffi_arg rint; in main() local
35 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
36 CHECK(rint == 1); in main()
40 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
41 CHECK(rint == 6); in main()
45 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
46 CHECK(rint == 26); in main()
Dstrlen3.c21 ffi_arg rint; in main() local
35 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
36 CHECK(rint == 1); in main()
40 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
41 CHECK(rint == 6); in main()
45 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
46 CHECK(rint == 26); in main()
Dstrlen4.c21 ffi_arg rint; in main() local
39 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
40 CHECK(rint == 2); in main()
45 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
46 CHECK(rint == 4); in main()
51 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
52 CHECK(rint == 28); in main()
Dnegint.c22 ffi_arg rint; in main() local
45 ffi_call(&cif, FFI_FN(checking), &rint, values); in main()
47 printf ("%d vs %d\n", (int)rint, checking (si, ss, sc)); in main()
49 CHECK(rint != 0); in main()
Dfloat.c25 ffi_arg rint; in main() local
52 ffi_call(&cif, FFI_FN(floating), &rint, values); in main()
54 printf ("%d vs %d\n", (int)rint, floating (si1, f, d, ld)); in main()
56 CHECK((int)rint == floating(si1, f, d, ld)); in main()
Dreturn_sc.c19 ffi_arg rint; in main() local
32 ffi_call(&cif, FFI_FN(return_sc), &rint, values); in main()
33 CHECK((signed char)rint == sc); in main()
Dreturn_uc.c20 ffi_arg rint; in main() local
34 ffi_call(&cif, FFI_FN(return_uc), &rint, values); in main()
35 CHECK((unsigned char)rint == uc); in main()
Dpromotion.c22 ffi_arg rint; in main() local
53 ffi_call(&cif, FFI_FN(promotion), &rint, values); in main()
54 CHECK((int)rint == (signed char) sc + (signed short) ss + in main()
Dunwindtest_ffi_call.cc22 ffi_arg rint; in main() local
45 ffi_call(&cif, FFI_FN(checking), &rint, values); in main()
/external/llvm/test/CodeGen/AMDGPU/
Dllvm.rint.f64.ll16 %0 = call double @llvm.rint.f64(double %in)
26 %0 = call <2 x double> @llvm.rint.v2f64(<2 x double> %in)
38 %0 = call <4 x double> @llvm.rint.v4f64(<4 x double> %in)
44 declare double @llvm.rint.f64(double) #0
45 declare <2 x double> @llvm.rint.v2f64(<2 x double>) #0
46 declare <4 x double> @llvm.rint.v4f64(<4 x double>) #0
Dllvm.rint.ll11 %0 = call float @llvm.rint.f32(float %in) #0
24 %0 = call <2 x float> @llvm.rint.v2f32(<2 x float> %in) #0
41 %0 = call <4 x float> @llvm.rint.v4f32(<4 x float> %in) #0
46 declare float @llvm.rint.f32(float) #0
47 declare <2 x float> @llvm.rint.v2f32(<2 x float>) #0
48 declare <4 x float> @llvm.rint.v4f32(<4 x float>) #0
/external/llvm/test/CodeGen/SystemZ/
Dfp-round-01.ll5 ; Test rint for f32.
6 declare float @llvm.rint.f32(float %f)
11 %res = call float @llvm.rint.f32(float %f)
15 ; Test rint for f64.
16 declare double @llvm.rint.f64(double %f)
21 %res = call double @llvm.rint.f64(double %f)
25 ; Test rint for f128.
26 declare fp128 @llvm.rint.f128(fp128 %f)
32 %res = call fp128 @llvm.rint.f128(fp128 %src)
Dfp-round-02.ll8 ; Test rint for f32.
9 declare float @llvm.rint.f32(float %f)
14 %res = call float @llvm.rint.f32(float %f)
18 ; Test rint for f64.
19 declare double @llvm.rint.f64(double %f)
25 %res = call double @llvm.rint.f64(double %f)
29 ; Test rint for f128.
30 declare fp128 @llvm.rint.f128(fp128 %f)
36 %res = call fp128 @llvm.rint.f128(fp128 %src)
/external/iproute2/netem/
Dparetonormal.c46 return (int)rint(dvalue); in paretovalue()
57 i = rint(TABLESIZE*normal(x, 0.0, 1.0)); in main()
67 normvalue = (int) rint(table[i]*TABLEFACTOR); in main()
/external/llvm/test/CodeGen/ARM/
Dvfloatintrinsics.ll98 ; CHECK: test_v2f32.rint:
99 define %v2f32 @test_v2f32.rint(%v2f32 %a) {
100 ; CHECK: rint
101 %1 = call %v2f32 @llvm.rint.v2f32(%v2f32 %a)
126 declare %v2f32 @llvm.rint.v2f32(%v2f32) #0
222 ; CHECK: test_v4f32.rint:
223 define %v4f32 @test_v4f32.rint(%v4f32 %a) {
224 ; CHECK: rint
225 %1 = call %v4f32 @llvm.rint.v4f32(%v4f32 %a)
250 declare %v4f32 @llvm.rint.v4f32(%v4f32) #0
[all …]
/external/valgrind/none/tests/mips64/
Dtest_math.stdout.exp-older-gcc19 rint(1234.0): 1234.000000
21 rint(1234.01): 1235.000000
34 rint(1234.01): 1234.000000
Dtest_math.stdout.exp19 rint(1234.0): 1234.000000
21 rint(1234.01): 1235.000000
34 rint(1234.01): 1234.000000
Dtest_math.cpp41 printf("rint(1234.0): %f\n", rint(1234.0)); in main()
44 printf("rint(1234.01): %f\n", rint(1234.01)); in main()
68 printf("rint(1234.01): %f\n", rint(1234.01)); in main()
/external/valgrind/none/tests/mips32/
Dtest_math.stdout.exp19 rint(1234.0): 1234.000000
21 rint(1234.01): 1235.000000
34 rint(1234.01): 1234.000000
Dtest_math.cpp41 printf("rint(1234.0): %f\n", rint(1234.0)); in main()
44 printf("rint(1234.01): %f\n", rint(1234.01)); in main()
68 printf("rint(1234.01): %f\n", rint(1234.01)); in main()
/external/llvm/test/Transforms/LICM/
Dhoist-round.ll6 ; This test verifies that ceil, floor, nearbyint, trunc, rint, round,
14 ; CHECK: call float @llvm.rint.f32
36 %tmp.4 = call float @llvm.rint.f32(float %tmp.3)
56 declare float @llvm.rint.f32(float)
/external/llvm/test/CodeGen/AArch64/
Darm64-vfloatintrinsics.ll96 ; CHECK: test_v2f32.rint:
97 define %v2f32 @test_v2f32.rint(%v2f32 %a) {
99 %1 = call %v2f32 @llvm.rint.v2f32(%v2f32 %a)
124 declare %v2f32 @llvm.rint.v2f32(%v2f32) #0
220 ; CHECK: test_v4f32.rint:
221 define %v4f32 @test_v4f32.rint(%v4f32 %a) {
223 %1 = call %v4f32 @llvm.rint.v4f32(%v4f32 %a)
248 declare %v4f32 @llvm.rint.v4f32(%v4f32) #0
344 ; CHECK: test_v2f64.rint:
345 define %v2f64 @test_v2f64.rint(%v2f64 %a) {
[all …]

123456