/third_party/python/Modules/ |
H A D | mathmodule.c | 1257 FUNC1(exp2, exp2, 1, 1258 "exp2($module, x, /)\n--\n\n" 3867 {"exp2", math_exp2, METH_O, math_exp2_doc},
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fShaderOperatorTests.cpp | 61 using tcu::exp2; 792 DECLARE_UNARY_GENTYPE_FUNCS(exp2) 1100 << BuiltinFuncInfo("exp2", "exp2", GT, Value(GT, -7.0f, 2.0f), notUsed, notUsed, 1.0f, 0.0f, PRECMASK_MEDIUMP_HIGHP, FLOAT_GENTYPE_FUNCS(exp2) ) in init()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 1415 case Intrinsic::exp2: in canConstantFoldCallTo() 1506 Name == "exp2" || Name == "exp2f"; in canConstantFoldCallTo() 1803 case Intrinsic::exp2: in ConstantFoldScalarCall1() 1804 // Fold exp2(x) as pow(2, x), in case the host lacks a C99 library. in ConstantFoldScalarCall1() 1872 // Fold exp2(x) as pow(2, x), in case the host lacks a C99 library. in ConstantFoldScalarCall1()
|
H A D | VectorUtils.cpp | 65 case Intrinsic::exp2: in isTriviallyVectorizable()
|
/third_party/spirv-tools/source/opt/ |
H A D | const_folding_rules.cpp | 1720 // (no std::exp2/log2). ::exp2 is available from C99 but ::log2 isn't 1724 FoldFPUnaryOp(FoldFTranscendentalUnary(::exp2))); 1729 FoldFPUnaryOp(FoldFTranscendentalUnary(std::exp2)));
|
/third_party/ffmpeg/libavcodec/ |
H A D | aacpsy.c | 360 minsnr = exp2(pe_min / band_sizes[g]) - 1.5f; in psy_3gpp_init()
|
H A D | imc.c | 384 flcoeffs1[0] = 20000.0 / exp2 (levlCoeffBuf[0] * 0.18945); // 0.18945 = log2(10) * 0.05703125 in imc_decode_level_coefficients()
|
H A D | mpegaudiodec_template.c | 269 f = exp2(e / 4.0); in decode_init_static()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLFunctionCall.cpp | 379 double evaluate_exp2(double a, double, double) { return std::exp2(a); } in evaluate_exp2()
|
/third_party/vk-gl-cts/modules/gles2/scripts/ |
H A D | genutil.py | 169 def exp2(val): return val.applyUnary(lambda x: math.pow(2.0, x)) member in GenMath
|
/third_party/astc-encoder/Source/ |
H A D | wuffs-v0.3.c | 13884 int32_t exp2, in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13889 // Let f be the floating point number represented by exp2 and mantissa (and in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13890 // also the number in h): the number (mantissa * (2 ** (exp2 - 52))). in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13894 ((exp2 < 53) && (h->decimal_point >= ((int32_t)(h->num_digits))))) { in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13898 // The smallest normal f has an exp2 of -1022 and a mantissa of (1 << 52). in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13899 // Subnormal numbers have the same exp2 but a smaller mantissa. in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13905 // ((mantissa + 0) * (2 ** ( exp2 - 52))) in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13908 // ((mantissa - 1) * (2 ** ( exp2 - 52))) in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13909 // unless (mantissa - 1) drops the (1 << 52) bit and exp2 is not the in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13915 int32_t l_exp2 = exp2; in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13882 wuffs_base__private_implementation__high_prec_dec__round_just_enough( wuffs_base__private_implementation__high_prec_dec* h, int32_t exp2, uint64_t mantissa) wuffs_base__private_implementation__high_prec_dec__round_just_enough() argument 14394 int32_t exp2 = 0; wuffs_base__private_implementation__high_prec_dec__to_f64() local 14939 int32_t exp2 = ((int32_t)(bits >> 52)) & 0x7FF; wuffs_base__render_number_f64() local [all...] |
/third_party/skia/third_party/externals/wuffs/release/c/ |
H A D | wuffs-v0.3.c | 12988 int32_t exp2, in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 12993 // Let f be the floating point number represented by exp2 and mantissa (and in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 12994 // also the number in h): the number (mantissa * (2 ** (exp2 - 52))). in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 12998 ((exp2 < 53) && (h->decimal_point >= ((int32_t)(h->num_digits))))) { in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13002 // The smallest normal f has an exp2 of -1022 and a mantissa of (1 << 52). in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13003 // Subnormal numbers have the same exp2 but a smaller mantissa. in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13009 // ((mantissa + 0) * (2 ** ( exp2 - 52))) in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13012 // ((mantissa - 1) * (2 ** ( exp2 - 52))) in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13013 // unless (mantissa - 1) drops the (1 << 52) bit and exp2 is not the in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 13019 int32_t l_exp2 = exp2; in wuffs_base__private_implementation__high_prec_dec__round_just_enough() 12986 wuffs_base__private_implementation__high_prec_dec__round_just_enough( wuffs_base__private_implementation__high_prec_dec* h, int32_t exp2, uint64_t mantissa) wuffs_base__private_implementation__high_prec_dec__round_just_enough() argument 13498 int32_t exp2 = 0; wuffs_base__private_implementation__high_prec_dec__to_f64() local 14043 int32_t exp2 = ((int32_t)(bits >> 52)) & 0x7FF; wuffs_base__render_number_f64() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/third_party/ffx_spd/ |
H A D | ffx_a.h | 107 // - Requires VS2013 when not using GCC to get exp2() and log2(). 289 A_STATIC AD1 AExp2D1(AD1 a){return exp2(a);} in AExp2D1() 1777 #define AExp2D1(a) exp2(AD1(a)) 1778 #define AExp2F1(a) exp2(AF1(a))
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | usettest.cpp | 178 const char* exp2[] = {"aa", "ab", "ac", NOT, "xy", NULL}; in TestToPattern() local 179 expectToPattern(*s, "[a-z{aa}{ab}{ac}]", exp2); in TestToPattern()
|
H A D | caltest.cpp | 2252 UnicodeString exp2 = UNICODE_STRING_SIMPLE("Mon 1 Rajab 1433 AH, 01:47:04"); in Test3785() local 2287 if ( act2 != exp2 ) { in Test3785()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderBuiltinPrecisionTests.cpp | 2797 class Exp2 : public ExpFunc<T> { public: Exp2 (void) : ExpFunc<T>("exp2", deExp2) {} }; in Exp2() 2802 ExprP<T> exp2 (const ExprP<T>& x) { return app<Exp2< Signature<T, T> > >(x); } in exp2() function 3018 DEFINE_DERIVED_FLOAT2(Pow, pow, x, y, exp2<float>(y * log2(x))) 3019 DEFINE_DERIVED_FLOAT2_16BIT(Pow16, pow, x, y, exp2<deFloat16>(y * log2(x))) 3020 DEFINE_DERIVED_DOUBLE2(Pow64, pow, x, y, exp2<double>(y * log2(x))) 7123 // Radians, degrees, sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh, atan2, pow, exp, log, exp2 and log2
|
/third_party/glslang/glslang/MachineIndependent/ |
H A D | Constant.cpp | 572 newConstArray[i].setDConst(exp2(unionArray[i].getDConst())); in fold()
|
/third_party/mesa3d/src/asahi/compiler/ |
H A D | agx_compile.c | 669 UNOP(fexp2, exp2); in agx_emit_alu()
|
/third_party/mesa3d/src/microsoft/clc/ |
H A D | clc_compiler_test.cpp | 1265 TEST_F(ComputeTest, exp2) in TEST_F()
|
/third_party/optimized-routines/math/test/ |
H A D | mathtest.c | 245 TFUNC(at_d,rt_d, exp2, 3*ULPUNIT/4),
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 867 case Intrinsic::exp2: in isLoweredToCall()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 1231 case Intrinsic::exp2: in getIntrinsicInstrCost()
|
/third_party/vk-gl-cts/modules/gles3/scripts/ |
H A D | genutil.py | 179 def exp2(val): return val.applyUnary(lambda x: math.pow(2.0, x)) member in GenMath
|
/third_party/vk-gl-cts/modules/gles31/scripts/ |
H A D | genutil.py | 179 def exp2(val): return val.applyUnary(lambda x: math.pow(2.0, x)) member in GenMath
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsBuiltinPrecisionTests.cpp | 2144 class Exp2 : public ExpFunc { public: Exp2 (void) : ExpFunc("exp2", deExp2) {} }; in Exp2() 2147 ExprP<float> exp2 (const ExprP<float>& x) { return app<Exp2>(x); } in exp2() function 2280 DEFINE_DERIVED_FLOAT2(Pow, pow, x, y, exp2(y * log2(x))) 3560 // Khronos bug 11180 consensus: if exp2(exponent) cannot be represented, in doApply()
|