Home
last modified time | relevance | path

Searched refs:ldexp (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/external/deqp-deps/glslang/gtests/
DHexFloat.cpp113 {float(ldexp(1.0f, -126)), "0x1p-126"},
114 {float(ldexp(-1.0f, -126)), "-0x1p-126"},
117 {float(ldexp(1.0f, -127)), "0x1p-127"},
118 {float(ldexp(1.0f, -127) / 2.0f), "0x1p-128"},
119 {float(ldexp(1.0f, -127) / 4.0f), "0x1p-129"},
120 {float(ldexp(1.0f, -127) / 8.0f), "0x1p-130"},
121 {float(ldexp(-1.0f, -127)), "-0x1p-127"},
122 {float(ldexp(-1.0f, -127) / 2.0f), "-0x1p-128"},
123 {float(ldexp(-1.0f, -127) / 4.0f), "-0x1p-129"},
124 {float(ldexp(-1.0f, -127) / 8.0f), "-0x1p-130"},
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/gtests/
DHexFloat.cpp113 {float(ldexp(1.0f, -126)), "0x1p-126"},
114 {float(ldexp(-1.0f, -126)), "-0x1p-126"},
117 {float(ldexp(1.0f, -127)), "0x1p-127"},
118 {float(ldexp(1.0f, -127) / 2.0f), "0x1p-128"},
119 {float(ldexp(1.0f, -127) / 4.0f), "0x1p-129"},
120 {float(ldexp(1.0f, -127) / 8.0f), "0x1p-130"},
121 {float(ldexp(-1.0f, -127)), "-0x1p-127"},
122 {float(ldexp(-1.0f, -127) / 2.0f), "-0x1p-128"},
123 {float(ldexp(-1.0f, -127) / 4.0f), "-0x1p-129"},
124 {float(ldexp(-1.0f, -127) / 8.0f), "-0x1p-130"},
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Dhex_float_test.cpp117 {float(ldexp(1.0f, -126)), "0x1p-126"},
118 {float(ldexp(-1.0f, -126)), "-0x1p-126"},
121 {float(ldexp(1.0f, -127)), "0x1p-127"},
122 {float(ldexp(1.0f, -127) / 2.0f), "0x1p-128"},
123 {float(ldexp(1.0f, -127) / 4.0f), "0x1p-129"},
124 {float(ldexp(1.0f, -127) / 8.0f), "0x1p-130"},
125 {float(ldexp(-1.0f, -127)), "-0x1p-127"},
126 {float(ldexp(-1.0f, -127) / 2.0f), "-0x1p-128"},
127 {float(ldexp(-1.0f, -127) / 4.0f), "-0x1p-129"},
128 {float(ldexp(-1.0f, -127) / 8.0f), "-0x1p-130"},
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/
Dhex_float_test.cpp117 {float(ldexp(1.0f, -126)), "0x1p-126"},
118 {float(ldexp(-1.0f, -126)), "-0x1p-126"},
121 {float(ldexp(1.0f, -127)), "0x1p-127"},
122 {float(ldexp(1.0f, -127) / 2.0f), "0x1p-128"},
123 {float(ldexp(1.0f, -127) / 4.0f), "0x1p-129"},
124 {float(ldexp(1.0f, -127) / 8.0f), "0x1p-130"},
125 {float(ldexp(-1.0f, -127)), "-0x1p-127"},
126 {float(ldexp(-1.0f, -127) / 2.0f), "-0x1p-128"},
127 {float(ldexp(-1.0f, -127) / 4.0f), "-0x1p-129"},
128 {float(ldexp(-1.0f, -127) / 8.0f), "-0x1p-130"},
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dhex_float_test.cpp117 {float(ldexp(1.0f, -126)), "0x1p-126"},
118 {float(ldexp(-1.0f, -126)), "-0x1p-126"},
121 {float(ldexp(1.0f, -127)), "0x1p-127"},
122 {float(ldexp(1.0f, -127) / 2.0f), "0x1p-128"},
123 {float(ldexp(1.0f, -127) / 4.0f), "0x1p-129"},
124 {float(ldexp(1.0f, -127) / 8.0f), "0x1p-130"},
125 {float(ldexp(-1.0f, -127)), "-0x1p-127"},
126 {float(ldexp(-1.0f, -127) / 2.0f), "-0x1p-128"},
127 {float(ldexp(-1.0f, -127) / 4.0f), "-0x1p-129"},
128 {float(ldexp(-1.0f, -127) / 8.0f), "-0x1p-130"},
[all …]
/external/llvm-project/llvm/test/Transforms/InstCombine/AMDGPU/
Dldexp.ll8 %call = call float @llvm.amdgcn.ldexp.f32(float undef, i32 undef)
18 ; CHECK-NEXT: [[ONE:%.*]] = call float @llvm.amdgcn.ldexp.f32(float [[X]], i32 1)
22 %zero = call float @llvm.amdgcn.ldexp.f32(float %x, i32 0)
25 %undef = call float @llvm.amdgcn.ldexp.f32(float %x, i32 undef)
28 %one = call float @llvm.amdgcn.ldexp.f32(float %x, i32 1)
41 %zero = call float @llvm.amdgcn.ldexp.f32(float 0.0, i32 %y)
44 %neg.zero = call float @llvm.amdgcn.ldexp.f32(float -0.0, i32 %y)
47 %undef = call float @llvm.amdgcn.ldexp.f32(float undef, i32 %y)
60 %inf = call float @llvm.amdgcn.ldexp.f32(float 0x7ff0000000000000, i32 %y)
63 %neg.inf = call float @llvm.amdgcn.ldexp.f32(float 0xfff0000000000000, i32 %y)
[all …]
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcharconv_test.cc178 EXPECT_EQ(ToDouble("5.e125"), ldexp(6653062250012735, 365)); in TEST()
179 EXPECT_EQ(ToDouble("69.e267"), ldexp(4705683757438170, 841)); in TEST()
180 EXPECT_EQ(ToDouble("999.e-026"), ldexp(6798841691080350, -129)); in TEST()
181 EXPECT_EQ(ToDouble("7861.e-034"), ldexp(8975675289889240, -153)); in TEST()
182 EXPECT_EQ(ToDouble("75569.e-254"), ldexp(6091718967192243, -880)); in TEST()
183 EXPECT_EQ(ToDouble("928609.e-261"), ldexp(7849264900213743, -900)); in TEST()
184 EXPECT_EQ(ToDouble("9210917.e080"), ldexp(8341110837370930, 236)); in TEST()
185 EXPECT_EQ(ToDouble("84863171.e114"), ldexp(4625202867375927, 353)); in TEST()
186 EXPECT_EQ(ToDouble("653777767.e273"), ldexp(5068902999763073, 884)); in TEST()
187 EXPECT_EQ(ToDouble("5232604057.e-298"), ldexp(5741343011915040, -1010)); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcharconv_test.cc178 EXPECT_EQ(ToDouble("5.e125"), ldexp(6653062250012735, 365)); in TEST()
179 EXPECT_EQ(ToDouble("69.e267"), ldexp(4705683757438170, 841)); in TEST()
180 EXPECT_EQ(ToDouble("999.e-026"), ldexp(6798841691080350, -129)); in TEST()
181 EXPECT_EQ(ToDouble("7861.e-034"), ldexp(8975675289889240, -153)); in TEST()
182 EXPECT_EQ(ToDouble("75569.e-254"), ldexp(6091718967192243, -880)); in TEST()
183 EXPECT_EQ(ToDouble("928609.e-261"), ldexp(7849264900213743, -900)); in TEST()
184 EXPECT_EQ(ToDouble("9210917.e080"), ldexp(8341110837370930, 236)); in TEST()
185 EXPECT_EQ(ToDouble("84863171.e114"), ldexp(4625202867375927, 353)); in TEST()
186 EXPECT_EQ(ToDouble("653777767.e273"), ldexp(5068902999763073, 884)); in TEST()
187 EXPECT_EQ(ToDouble("5232604057.e-298"), ldexp(5741343011915040, -1010)); in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/strings/
Dcharconv_test.cc178 EXPECT_EQ(ToDouble("5.e125"), ldexp(6653062250012735, 365)); in TEST()
179 EXPECT_EQ(ToDouble("69.e267"), ldexp(4705683757438170, 841)); in TEST()
180 EXPECT_EQ(ToDouble("999.e-026"), ldexp(6798841691080350, -129)); in TEST()
181 EXPECT_EQ(ToDouble("7861.e-034"), ldexp(8975675289889240, -153)); in TEST()
182 EXPECT_EQ(ToDouble("75569.e-254"), ldexp(6091718967192243, -880)); in TEST()
183 EXPECT_EQ(ToDouble("928609.e-261"), ldexp(7849264900213743, -900)); in TEST()
184 EXPECT_EQ(ToDouble("9210917.e080"), ldexp(8341110837370930, 236)); in TEST()
185 EXPECT_EQ(ToDouble("84863171.e114"), ldexp(4625202867375927, 353)); in TEST()
186 EXPECT_EQ(ToDouble("653777767.e273"), ldexp(5068902999763073, 884)); in TEST()
187 EXPECT_EQ(ToDouble("5232604057.e-298"), ldexp(5741343011915040, -1010)); in TEST()
[all …]
/external/abseil-cpp/absl/strings/
Dcharconv_test.cc178 EXPECT_EQ(ToDouble("5.e125"), ldexp(6653062250012735, 365)); in TEST()
179 EXPECT_EQ(ToDouble("69.e267"), ldexp(4705683757438170, 841)); in TEST()
180 EXPECT_EQ(ToDouble("999.e-026"), ldexp(6798841691080350, -129)); in TEST()
181 EXPECT_EQ(ToDouble("7861.e-034"), ldexp(8975675289889240, -153)); in TEST()
182 EXPECT_EQ(ToDouble("75569.e-254"), ldexp(6091718967192243, -880)); in TEST()
183 EXPECT_EQ(ToDouble("928609.e-261"), ldexp(7849264900213743, -900)); in TEST()
184 EXPECT_EQ(ToDouble("9210917.e080"), ldexp(8341110837370930, 236)); in TEST()
185 EXPECT_EQ(ToDouble("84863171.e114"), ldexp(4625202867375927, 353)); in TEST()
186 EXPECT_EQ(ToDouble("653777767.e273"), ldexp(5068902999763073, 884)); in TEST()
187 EXPECT_EQ(ToDouble("5232604057.e-298"), ldexp(5741343011915040, -1010)); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcharconv_test.cc178 EXPECT_EQ(ToDouble("5.e125"), ldexp(6653062250012735, 365)); in TEST()
179 EXPECT_EQ(ToDouble("69.e267"), ldexp(4705683757438170, 841)); in TEST()
180 EXPECT_EQ(ToDouble("999.e-026"), ldexp(6798841691080350, -129)); in TEST()
181 EXPECT_EQ(ToDouble("7861.e-034"), ldexp(8975675289889240, -153)); in TEST()
182 EXPECT_EQ(ToDouble("75569.e-254"), ldexp(6091718967192243, -880)); in TEST()
183 EXPECT_EQ(ToDouble("928609.e-261"), ldexp(7849264900213743, -900)); in TEST()
184 EXPECT_EQ(ToDouble("9210917.e080"), ldexp(8341110837370930, 236)); in TEST()
185 EXPECT_EQ(ToDouble("84863171.e114"), ldexp(4625202867375927, 353)); in TEST()
186 EXPECT_EQ(ToDouble("653777767.e273"), ldexp(5068902999763073, 884)); in TEST()
187 EXPECT_EQ(ToDouble("5232604057.e-298"), ldexp(5741343011915040, -1010)); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/
Dcharconv_test.cc178 EXPECT_EQ(ToDouble("5.e125"), ldexp(6653062250012735, 365)); in TEST()
179 EXPECT_EQ(ToDouble("69.e267"), ldexp(4705683757438170, 841)); in TEST()
180 EXPECT_EQ(ToDouble("999.e-026"), ldexp(6798841691080350, -129)); in TEST()
181 EXPECT_EQ(ToDouble("7861.e-034"), ldexp(8975675289889240, -153)); in TEST()
182 EXPECT_EQ(ToDouble("75569.e-254"), ldexp(6091718967192243, -880)); in TEST()
183 EXPECT_EQ(ToDouble("928609.e-261"), ldexp(7849264900213743, -900)); in TEST()
184 EXPECT_EQ(ToDouble("9210917.e080"), ldexp(8341110837370930, 236)); in TEST()
185 EXPECT_EQ(ToDouble("84863171.e114"), ldexp(4625202867375927, 353)); in TEST()
186 EXPECT_EQ(ToDouble("653777767.e273"), ldexp(5068902999763073, 884)); in TEST()
187 EXPECT_EQ(ToDouble("5232604057.e-298"), ldexp(5741343011915040, -1010)); in TEST()
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.ldexp.ll4 declare float @llvm.amdgcn.ldexp.f32(float, i32) nounwind readnone
5 declare double @llvm.amdgcn.ldexp.f64(double, i32) nounwind readnone
7 declare float @llvm.AMDGPU.ldexp.f32(float, i32) nounwind readnone
8 declare double @llvm.AMDGPU.ldexp.f64(double, i32) nounwind readnone
14 %result = call float @llvm.amdgcn.ldexp.f32(float %a, i32 %b) nounwind readnone
23 %result = call double @llvm.amdgcn.ldexp.f64(double %a, i32 %b) nounwind readnone
32 %result = call float @llvm.AMDGPU.ldexp.f32(float %a, i32 %b) nounwind readnone
41 %result = call double @llvm.AMDGPU.ldexp.f64(double %a, i32 %b) nounwind readnone
49 %result = call float @llvm.amdgcn.ldexp.f32(float undef, i32 %b) nounwind readnone
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dexp2-1.ll12 ; Check exp2(sitofp(x)) -> ldexp(1.0, sext(x)).
18 ; CHECK: call double @ldexp
26 ; CHECK: call double @ldexp
34 ; CHECK: call double @ldexp
46 ; Check exp2(uitofp(x)) -> ldexp(1.0, zext(x)).
60 ; CHECK: call double @ldexp
68 ; CHECK: call double @ldexp
87 ; LDEXP: call double @ldexp
88 ; NOLDEXP-NOT: call double @ldexp
/external/llvm/test/Transforms/InstCombine/
Dexp2-1.ll12 ; Check exp2(sitofp(x)) -> ldexp(1.0, sext(x)).
18 ; CHECK: call double @ldexp
26 ; CHECK: call double @ldexp
34 ; CHECK: call double @ldexp
46 ; Check exp2(uitofp(x)) -> ldexp(1.0, zext(x)).
60 ; CHECK: call double @ldexp
68 ; CHECK: call double @ldexp
87 ; LDEXP: call double @ldexp
88 ; NOLDEXP-NOT: call double @ldexp
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.ldexp.ll4 declare float @llvm.amdgcn.ldexp.f32(float, i32) nounwind readnone
5 declare double @llvm.amdgcn.ldexp.f64(double, i32) nounwind readnone
11 %result = call float @llvm.amdgcn.ldexp.f32(float %a, i32 %b) nounwind readnone
20 %result = call double @llvm.amdgcn.ldexp.f64(double %a, i32 %b) nounwind readnone
28 %result = call float @llvm.amdgcn.ldexp.f32(float undef, i32 %b) nounwind readnone
/external/llvm-project/libclc/amdgcn/lib/math/
Dldexp.cl34 // This defines all the ldexp(floatN, intN) variants.
35 _CLC_DEFINE_BINARY_BUILTIN(float, ldexp, BUILTINF, float, int);
39 // This defines all the ldexp(doubleN, intN) variants.
40 _CLC_DEFINE_BINARY_BUILTIN(double, ldexp, __builtin_amdgcn_ldexp, double, int);
43 // This defines all the ldexp(GENTYPE, int);
44 #define __CLC_BODY <../../../generic/lib/math/ldexp.inc>
/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/
Dinst-select-amdgcn.ldexp.s16.mir5 …wn>:0:0: cannot select: %3:vgpr(s16) = G_INTRINSIC intrinsic(@llvm.amdgcn.ldexp), %2:sgpr(s16), %1…
6 …wn>:0:0: cannot select: %3:vgpr(s16) = G_INTRINSIC intrinsic(@llvm.amdgcn.ldexp), %2:vgpr(s16), %1…
7 …wn>:0:0: cannot select: %3:vgpr(s16) = G_INTRINSIC intrinsic(@llvm.amdgcn.ldexp), %2:vgpr(s16), %1…
27 %3:vgpr(s16) = G_INTRINSIC intrinsic(@llvm.amdgcn.ldexp), %2, %1
49 %3:vgpr(s16) = G_INTRINSIC intrinsic(@llvm.amdgcn.ldexp), %2, %1
71 %3:vgpr(s16) = G_INTRINSIC intrinsic(@llvm.amdgcn.ldexp), %2, %1
Dinst-select-amdgcn.ldexp.mir21 %2:vgpr(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.ldexp), %0, %1
42 %2:vgpr(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.ldexp), %0, %1
63 %2:vgpr(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.ldexp), %0, %1
84 %2:vgpr(s64) = G_INTRINSIC intrinsic(@llvm.amdgcn.ldexp), %0, %1
105 %2:vgpr(s64) = G_INTRINSIC intrinsic(@llvm.amdgcn.ldexp), %0, %1
126 %2:vgpr(s64) = G_INTRINSIC intrinsic(@llvm.amdgcn.ldexp), %0, %1
/external/llvm/test/CodeGen/Mips/
D2008-11-10-xint_to_fp.ll18 tail call double @ldexp( double %1, i32 -48 ) nounwind ; <double>:2 [#uses=1]
22 tail call double @ldexp( double %5, i32 -32 ) nounwind ; <double>:6 [#uses=1]
27 tail call double @ldexp( double %10, i32 -16 ) nounwind ; <double>:11 [#uses=1]
34 declare double @ldexp(double, i32)
42 tail call double @ldexp( double %2, i32 -48 ) nounwind ; <double>:3 [#uses=1]
46 tail call double @ldexp( double %6, i32 -32 ) nounwind ; <double>:7 [#uses=1]
51 tail call double @ldexp( double %11, i32 -16 ) nounwind ; <double>:12 [#uses=1]
/external/llvm-project/llvm/test/CodeGen/Mips/
D2008-11-10-xint_to_fp.ll18 tail call double @ldexp( double %1, i32 -48 ) nounwind ; <double>:2 [#uses=1]
22 tail call double @ldexp( double %5, i32 -32 ) nounwind ; <double>:6 [#uses=1]
27 tail call double @ldexp( double %10, i32 -16 ) nounwind ; <double>:11 [#uses=1]
34 declare double @ldexp(double, i32)
42 tail call double @ldexp( double %2, i32 -48 ) nounwind ; <double>:3 [#uses=1]
46 tail call double @ldexp( double %6, i32 -32 ) nounwind ; <double>:7 [#uses=1]
51 tail call double @ldexp( double %11, i32 -16 ) nounwind ; <double>:12 [#uses=1]
/external/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/
Dldexp.glsl3 ; FUNC-LABEL: {{^}}@ldexp:
10 #shader fs ldexp
15 gl_FragColor.x = ldexp(f, i);
/external/llvm-project/libclc/generic/lib/math/
Dldexp.cl29 _CLC_DEFINE_BINARY_BUILTIN(float, ldexp, __clc_ldexp, float, int)
35 _CLC_DEFINE_BINARY_BUILTIN(double, ldexp, __clc_ldexp, double, int)
42 _CLC_DEFINE_BINARY_BUILTIN(half, ldexp, __clc_ldexp, half, int)
45 // This defines all the ldexp(GENTYPE, int) variants
46 #define __CLC_BODY <ldexp.inc>
/external/skia/tests/
DWangsFormulaTest.cpp87 m.setScaleX(std::ldexp(1 + rand->nextF(), i)); in for_random_matrices()
90 m.setScaleY(std::ldexp(1 + rand->nextF(), j)); in for_random_matrices()
93 m.setScaleX(std::ldexp(1 + rand->nextF(), i)); in for_random_matrices()
94 m.setSkewX(std::ldexp(1 + rand->nextF(), (j + i) / 2)); in for_random_matrices()
95 m.setSkewY(std::ldexp(1 + rand->nextF(), (j + i) / 2)); in for_random_matrices()
96 m.setScaleY(std::ldexp(1 + rand->nextF(), j)); in for_random_matrices()
109 pts[j].set(std::ldexp(1 + rand->nextF(), i), std::ldexp(1 + rand->nextF(), i)); in for_random_beziers()
195 float epsilon = std::ldexp(SK_ScalarNearlyZero, level * 2); in DEF_TEST()
203 float x = std::ldexp(1, level * 2) / k; in DEF_TEST()
222 float x = std::ldexp(1, level * 2) / k; in DEF_TEST()
[all …]
/external/llvm-project/llvm/test/Transforms/RewriteStatepointsForGC/
Dlibcall.ll7 declare double @ldexp(double %x, i32 %n) nounwind readnone
11 ; CHECK-NEXT: %res = call double @ldexp(double %x, i32 5)
13 %res = call double @ldexp(double %x, i32 5) nounwind readnone

12345678910>>...15