Home
last modified time | relevance | path

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

12345

/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/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/llvm/test/CodeGen/R600/
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
58 declare float @llvm.rint.f32(float) #0
59 declare <2 x float> @llvm.rint.v2f32(<2 x float>) #0
60 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.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)
/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()
/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/libvorbis/lib/
Dbitrate.c42 bm->avg_bitsper= rint(1.*bi->avg_rate*halfsamples/ratesamples); in vorbis_bitrate_init()
43 bm->min_bitsper= rint(1.*bi->min_rate*halfsamples/ratesamples); in vorbis_bitrate_init()
44 bm->max_bitsper= rint(1.*bi->max_rate*halfsamples/ratesamples); in vorbis_bitrate_init()
83 int choice=rint(bm->avgfloat); in vorbis_bitrate_addblock()
132 slew=rint(choice-bm->avgfloat)/samples*vi->rate; in vorbis_bitrate_addblock()
135 choice=rint(bm->avgfloat+= slew/vi->rate*samples); in vorbis_bitrate_addblock()
Dos.h41 # define rint(x) (floor((x)+0.5f)) macro
50 # define rint(x) (floor((x)+0.5f)) macro
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DParticleDepositionHeightMap.java160 x = (int) (Math.rint(Math.random() * (size - 1))); in load()
161 y = (int) (Math.rint(Math.random() * (size - 1))); in load()
170 (int) (Math.rint( in load()
177 m = (int) (Math.rint(Math.random() * 7)); in load()
199 m = (int) (Math.rint((Math.random() * 8))); in load()
/external/valgrind/none/tests/mips64/
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/CodeGen/X86/
Dvec_floor.ll116 %t = call <2 x double> @llvm.rint.v2f64(<2 x double> %p)
119 declare <2 x double> @llvm.rint.v2f64(<2 x double> %p)
125 %t = call <4 x float> @llvm.rint.v4f32(<4 x float> %p)
128 declare <4 x float> @llvm.rint.v4f32(<4 x float> %p)
134 %t = call <4 x double> @llvm.rint.v4f64(<4 x double> %p)
137 declare <4 x double> @llvm.rint.v4f64(<4 x double> %p)
143 %t = call <8 x float> @llvm.rint.v8f32(<8 x float> %p)
146 declare <8 x float> @llvm.rint.v8f32(<8 x float> %p)
Davx512-scalar.ll36 declare float @llvm.rint.f32(float %Val)
37 declare double @llvm.rint.f64(double %Val)
67 %c = call float @llvm.rint.f32(float %a)
Davx512-round.ll54 %res = call <16 x float> @llvm.rint.v16f32(<16 x float> %a)
57 declare <16 x float> @llvm.rint.v16f32(<16 x float> %p)
62 %res = call <8 x double> @llvm.rint.v8f64(<8 x double> %a)
65 declare <8 x double> @llvm.rint.v8f64(<8 x double> %p)
/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 …]
/external/guava/guava/src/com/google/common/math/
DDoubleMath.java33 import static java.lang.Math.rint;
91 return rint(x); in roundIntermediate()
94 double z = rint(x); in roundIntermediate()
103 double z = rint(x); in roundIntermediate()
/external/llvm/test/Transforms/InstSimplify/
Dcall.ll59 declare float @llvm.rint.f32(float) nounwind readnone
86 ; CHECK: rint
87 ; CHECK-NOT: rint
88 %e0 = call float @llvm.rint.f32(float %a)
89 %e1 = call float @llvm.rint.f32(float %e0)
/external/llvm/include/llvm/Transforms/Utils/
DVectorUtils.h45 case Intrinsic::rint: in isTriviallyVectorizable()
182 case LibFunc::rint: in getIntrinsicIDForCall()
185 return checkUnaryFloatSignature(*CI, Intrinsic::rint); in getIntrinsicIDForCall()
/external/libvorbis/vq/
Ddistribution.c144 int stars=rint(50./maxcount*countarray[ptr]); in main()
219 countarray[(int)rint(code)]++; in main()
235 int stars=rint(50./maxcount*countarray[i]); in main()

12345