Searched defs:ldexp (Results 1 - 10 of 10) sorted by relevance

/external/mesa3d/src/compiler/nir/
H A Dnir_opt_algebraic.py429 def ldexp(f, exp, bits): function
434 # ldexp(FLT_MAX, -278) to get it to flush all the way to zero. The GLSL
450 # technically defines ldexp as f * 2.0^exp, simply multiplying once doesn't
460 (('ldexp@32', 'x', 'exp'), ldexp('x', 'exp', 32)),
461 (('ldexp@64', 'x', 'exp'), ldexp('x', 'exp', 64)),
/external/clang/lib/Headers/
H A D__clang_cuda_cmath.h117 __DEVICE__ float ldexp(float __arg, int __exp) { function
H A Dtgmath.h860 // ldexp
868 __tg_ldexp(double __x, int __y) {return ldexp(__x, __y);}
874 #undef ldexp macro
875 #define ldexp(__x, __y) __tg_ldexp(__tg_promote1((__x))(__x), __y) macro
/external/python/cpython2/Lib/test/
H A Dtest_random.py364 from math import ldexp namespace
379 self.assertEqual(long(ldexp(a, 53)), e)
H A Dtest_float.py6 from math import isinf, isnan, copysign, ldexp namespace
1040 self.identical(self.MIN, ldexp(1.0, -1022))
1041 self.identical(self.TINY, ldexp(1.0, -1074))
1042 self.identical(self.EPS, ldexp(1.0, -52))
1043 self.identical(self.MAX, 2.*(ldexp(1.0, 1023) - ldexp(1.0, 970)))
1436 x = s*ldexp(m, e)
/external/python/cpython3/Lib/test/
H A Dtest_random.py490 from math import ldexp namespace
505 self.assertEqual(int(ldexp(a, 53)), e)
H A Dtest_float.py13 from math import isinf, isnan, copysign, ldexp namespace
983 self.identical(self.MIN, ldexp(1.0, -1022))
984 self.identical(self.TINY, ldexp(1.0, -1074))
985 self.identical(self.EPS, ldexp(1.0, -52))
986 self.identical(self.MAX, 2.*(ldexp(1.0, 1023) - ldexp(1.0, 970)))
1378 x = s*ldexp(m, e)
/external/libcxx/test/std/depr/depr.c.headers/
H A Dmath_h.pass.cpp45 Ambiguous ldexp(Ambiguous, int){ return Ambiguous(); } function
349 static_assert((std::is_same<decltype(ldexp((float)0, ip)), float>::value), "");
350 static_assert((std::is_same<decltype(ldexp((bool)0, ip)), double>::value), "");
351 static_assert((std::is_same<decltype(ldexp((unsigned short)0, ip)), double>::value), "");
352 static_assert((std::is_same<decltype(ldexp((int)0, ip)), double>::value), "");
353 static_assert((std::is_same<decltype(ldexp((unsigned int)0, ip)), double>::value), "");
354 static_assert((std::is_same<decltype(ldexp((long)0, ip)), double>::value), "");
355 static_assert((std::is_same<decltype(ldexp((unsigned long)0, ip)), double>::value), "");
356 static_assert((std::is_same<decltype(ldexp((long long)0, ip)), double>::value), "");
357 static_assert((std::is_same<decltype(ldexp((unsigne
[all...]
/external/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp47 Ambiguous ldexp(Ambiguous, int){ return Ambiguous(); } function
352 static_assert((std::is_same<decltype(std::ldexp((float)0, ip)), float>::value), "");
353 static_assert((std::is_same<decltype(std::ldexp((bool)0, ip)), double>::value), "");
354 static_assert((std::is_same<decltype(std::ldexp((unsigned short)0, ip)), double>::value), "");
355 static_assert((std::is_same<decltype(std::ldexp((int)0, ip)), double>::value), "");
356 static_assert((std::is_same<decltype(std::ldexp((unsigned int)0, ip)), double>::value), "");
357 static_assert((std::is_same<decltype(std::ldexp((long)0, ip)), double>::value), "");
358 static_assert((std::is_same<decltype(std::ldexp((unsigned long)0, ip)), double>::value), "");
359 static_assert((std::is_same<decltype(std::ldexp((long long)0, ip)), double>::value), "");
360 static_assert((std::is_same<decltype(std::ldexp((unsigne
[all...]
/external/deqp/external/openglcts/modules/gl/
H A Dgl4cGPUShaderFP64Tests.cpp12225 static T ldexp(T val, glw::GLint exp);
12483 static T ldexp(T val, glw::GLint exp) function in namespace:gl4cts::Math
12485 return ::ldexp(val, exp);
12797 * - ldexp();
14190 function, "ldexp", ::ldexp, variable_type /* res_type */, variable_type /* arg1_type */,
15588 { "ldexp", FUNCTION_LDEXP },

Completed in 1618 milliseconds