Home
last modified time | relevance | path

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

12

/external/valgrind/main/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/valgrind/main/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/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()
Dstrlen_win32.c21 ffi_arg rint; in main() local
31 ffi_call(&cif, FFI_FN(my_stdcall_strlen), &rint, values); in main()
32 CHECK(rint == 1); in main()
35 ffi_call(&cif, FFI_FN(my_stdcall_strlen), &rint, values); in main()
36 CHECK(rint == 7); in main()
39 ffi_call(&cif, FFI_FN(my_stdcall_strlen), &rint, values); in main()
40 CHECK(rint == 25); in main()
Dnegint.c23 ffi_arg rint; in main() local
46 ffi_call(&cif, FFI_FN(checking), &rint, values); in main()
48 printf ("%d vs %d\n", (int)rint, checking (si, ss, sc)); in main()
50 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_uc.c20 ffi_arg rint; in main() local
34 ffi_call(&cif, FFI_FN(return_uc), &rint, values); in main()
35 CHECK(rint == (signed int) uc); 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(rint == (ffi_arg) sc); 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()
/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()
Dnormal.c32 i = rint(TABLESIZE * normal(x, 0.0, 1.0)); in main()
39 int value = (int) rint(table[i]*TABLEFACTOR); in main()
Dmaketable.c109 index = (int)rint((input+DISTTABLEDOMAIN)*DISTTABLEGRANULARITY); in makedist()
148 inverseindex = (int)rint(fvalue*inversesize); in inverttable()
149 inversevalue = (int)rint(findex*TABLEFACTOR); in inverttable()
Dpareto.c33 printf(" %d", (int)rint(dvalue)); in main()
/external/qemu/fpu/
Dsoftfloat-native.c29 #define lrint(d) ((int32_t)rint(d))
30 #define llrint(d) ((int64_t)rint(d))
31 #define lrintf(f) ((int32_t)rint(f))
32 #define llrintf(f) ((int64_t)rint(f))
35 #define rintf(f) ((float)rint(f))
74 #define rint qemu_rint macro
375 return rint(a); in float64_round_to_int()
/external/libffi/testsuite/libffi.special/
Dunwindtest_ffi_call.cc21 ffi_arg rint; in main() local
44 ffi_call(&cif, FFI_FN(checking), &rint, values); in main()
/external/iproute2/tc/
Dtc_util.c341 if (sz >= 1024*1024 && fabs(1024*1024*rint(tmp/(1024*1024)) - sz) < 1024) in print_size()
342 snprintf(buf, len, "%gMb", rint(tmp/(1024*1024))); in print_size()
343 else if (sz >= 1024 && fabs(1024*rint(tmp/1024) - sz) < 16) in print_size()
344 snprintf(buf, len, "%gKb", rint(tmp/1024)); in print_size()
367 *percent = (unsigned) rint(per * max_percent_value); in get_percent()
/external/qemu/distrib/sdl-1.2.12/src/audio/mint/
DSDL_mintaudio_mcsn.h41 unsigned short rint; /* Interrupt at end of record */ member
/external/tremolo/Tremolo/
Dos.h61 # define rint(x) (floor((x)+0.5f)) macro
/external/quake/quake/src/QW/progs/
Dplayer.qc309 rs = rint((random() * 5) + 1);
417 rs = rint ((random() * 4) + 1);
562 s = ftos(rint(self.super_damage_finished - time));
574 s = ftos(rint(self.invisible_finished - time));
/external/llvm/lib/Target/X86/
DREADME-FPStack.txt54 Open code rint,floor,ceil,trunc:
/external/iproute2/misc/
Drtacct.c138 sprintf(temp, "%uM", (unsigned)rint(rate/(1024*1024))); in format_rate()
141 sprintf(temp, "%uK", (unsigned)rint(rate/1024)); in format_rate()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DMathTest.java1312 3.0, Math.rint(2.9), 0D); in test_rintD()
1314 .rint(Double.NaN))); in test_rintD()
1316 2.0, Math.rint(2.1), 0D); in test_rintD()
1318 .rint(2.5) == 2.0); in test_rintD()
1320 Math.rint(+0.0d) == +0.0d); in test_rintD()
1322 Math.rint(-0.0d) == -0.0d); in test_rintD()
DStrictMathTest.java900 3.0, StrictMath.rint(2.9), 0D); in test_rintD()
902 .rint(Double.NaN))); in test_rintD()
904 .rint(2.1), 0D); in test_rintD()
906 .rint(2.5) == 2.0); in test_rintD()
/external/clang/lib/Headers/
Dtgmath.h1115 __tg_rint(double __x) {return rint(__x);} in __tg_rint()
1121 #undef rint
1122 #define rint(__x) __tg_rint(__tg_promote1((__x))(__x)) macro
/external/webkit/Source/WebKit/wx/
DWebView.cpp100 int rint(double val) in rint() function

12