Home
last modified time | relevance | path

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

12345678910>>...15

/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/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/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/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/cronet/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/tensorflow/third_party/absl/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/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/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/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/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/skia/tests/sksl/intrinsics/
DLdexp.skrp4 uniform float a; int b; void main() { sk_FragColor.x = half(ldexp(a, b)); }
7 uniform float a; int b; void main() { sk_FragColor.x = half(ldexp(a, b)); }
9 error: 1: unknown identifier 'ldexp'
10 uniform float a; int b; void main() { sk_FragColor.x = half(ldexp(a, b)); }
/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/skia/tests/sksl/workarounds/
DNegatedLdexpStandaloneSettings.glsl8 sk_FragColor.x = ldexp(m, -x);
9 sk_FragColor.y = ldexp(m, -(x + 1));
10 sk_FragColor.z = ldexp(m, -x - 1);
DNegatedLdexp.glsl8 sk_FragColor.x = ldexp(m, x * -1);
9 sk_FragColor.y = ldexp(m, (x + 1) * -1);
10 sk_FragColor.z = ldexp(m, -x - 1);
/external/skia/resources/sksl/workarounds/
DNegatedLdexp.sksl9 sk_FragColor.r = half(ldexp(m, -x));
10 sk_FragColor.g = half(ldexp(m, -(x + 1)));
11 sk_FragColor.b = half(ldexp(m, -x - 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/skia/tests/
DWangsFormulaTest.cpp100 m.setScaleX(std::ldexp(1 + rand->nextF(), i)); in for_random_matrices()
103 m.setScaleY(std::ldexp(1 + rand->nextF(), j)); in for_random_matrices()
106 m.setScaleX(std::ldexp(1 + rand->nextF(), i)); in for_random_matrices()
107 m.setSkewX(std::ldexp(1 + rand->nextF(), (j + i) / 2)); in for_random_matrices()
108 m.setSkewY(std::ldexp(1 + rand->nextF(), (j + i) / 2)); in for_random_matrices()
109 m.setScaleY(std::ldexp(1 + rand->nextF(), j)); in for_random_matrices()
122 pts[j].set(std::ldexp(1 + rand->nextF(), i), std::ldexp(1 + rand->nextF(), i)); in for_random_beziers()
208 float epsilon = std::ldexp(SK_ScalarNearlyZero, level * 2); in DEF_TEST()
216 float x = std::ldexp(1, level * 2) / k; in DEF_TEST()
235 float x = std::ldexp(1, level * 2) / k; in DEF_TEST()
[all …]
/external/musl/src/math/i386/
Dscalbn.s1 .global ldexp symbol
2 .type ldexp,@function
3 ldexp: label
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/numeric/
Dint128.cc103 v < std::ldexp(static_cast<T>(1), 128))); in MakeUint128FromFloat()
105 if (v >= std::ldexp(static_cast<T>(1), 64)) { in MakeUint128FromFloat()
106 uint64_t hi = static_cast<uint64_t>(std::ldexp(v, -64)); in MakeUint128FromFloat()
107 uint64_t lo = static_cast<uint64_t>(v - std::ldexp(static_cast<T>(hi), 64)); in MakeUint128FromFloat()
123 assert(std::isfinite(v) && v > -1 && v < std::ldexp(1.0L, 128)); in MakeUint128FromFloat()
125 v = std::ldexp(v, -100); in MakeUint128FromFloat()
127 v = std::ldexp(v - static_cast<double>(w0), 50); in MakeUint128FromFloat()
129 v = std::ldexp(v - static_cast<double>(w1), 50); in MakeUint128FromFloat()
251 (v >= -std::ldexp(static_cast<T>(1), 127) && in MakeInt128FromFloat()
252 v < std::ldexp(static_cast<T>(1), 127)))); in MakeInt128FromFloat()
/external/abseil-cpp/absl/numeric/
Dint128.cc103 v < std::ldexp(static_cast<T>(1), 128))); in MakeUint128FromFloat()
105 if (v >= std::ldexp(static_cast<T>(1), 64)) { in MakeUint128FromFloat()
106 uint64_t hi = static_cast<uint64_t>(std::ldexp(v, -64)); in MakeUint128FromFloat()
107 uint64_t lo = static_cast<uint64_t>(v - std::ldexp(static_cast<T>(hi), 64)); in MakeUint128FromFloat()
123 assert(std::isfinite(v) && v > -1 && v < std::ldexp(1.0L, 128)); in MakeUint128FromFloat()
125 v = std::ldexp(v, -100); in MakeUint128FromFloat()
127 v = std::ldexp(v - static_cast<double>(w0), 50); in MakeUint128FromFloat()
129 v = std::ldexp(v - static_cast<double>(w1), 50); in MakeUint128FromFloat()
244 (v >= -std::ldexp(static_cast<T>(1), 127) && in MakeInt128FromFloat()
245 v < std::ldexp(static_cast<T>(1), 127)))); in MakeInt128FromFloat()

12345678910>>...15