/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-golang/parse-number-fxx-test-data/slowstrconv/ |
H A D | slowstrconv.go | 83 exp2 := int32(0) 103 exp2-- 107 exp2++ 117 ret.F16 = uint16(h.pack(exp2, 5, 10)) 120 ret.F32 = uint32(h.pack(exp2, 8, 23)) 123 ret.F64 = uint64(h.pack(exp2, 11, 52)) 365 func (h *highPrecisionDecimal) pack(exp2 int32, expBits uint32, manBits uint32) uint64 { 366 exp2 += (int32(1) << (expBits - 1)) - 1 373 if e, eMax := exp2+exp2Adjustment, int32((1<<expBits)-1); e >= eMax { 381 for exp2 < [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/MathUnitTests/ |
H A D | unittests.cpp | 73 const int max_s = static_cast<int>(floor((max_c / exp2(exp_p - g_sharedexp_bias - g_sharedexp_mantissabits)) + 0.5f)); in RGB9E5_reference() 74 const int exp_s = static_cast<int>((max_s < exp2(g_sharedexp_mantissabits)) ? exp_p : exp_p + 1); in RGB9E5_reference() 76 unsigned int R = static_cast<unsigned int>(floor((red_c / exp2(exp_s - g_sharedexp_bias - g_sharedexp_mantissabits)) + 0.5f)); in RGB9E5_reference() 77 unsigned int G = static_cast<unsigned int>(floor((green_c / exp2(exp_s - g_sharedexp_bias - g_sharedexp_mantissabits)) + 0.5f)); in RGB9E5_reference() 78 unsigned int B = static_cast<unsigned int>(floor((blue_c / exp2(exp_s - g_sharedexp_bias - g_sharedexp_mantissabits)) + 0.5f)); in RGB9E5_reference()
|
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
H A D | math_exp2_test.cpp | 17 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the exp2 interface. 24 bool testResult = DoubleUlpCmp(g_exp2Data[i].expected, exp2(g_exp2Data[i].input), 1); in HWTEST_F() 31 * @tc.desc: When the parameter of exp2 is valid, test the return value of the function. 36 EXPECT_DOUBLE_EQ(8.0, exp2(3.0)); in HWTEST_F() 47 EXPECT_DOUBLE_EQ(10.0, exp2(log2(10))); in HWTEST_F()
|
/third_party/optimized-routines/math/ |
H A D | exp2.c | 76 exp2 (double x) in exp2() function 106 /* exp2(x) = 2^(k/N) * 2^r, with 2^r in [2^(-1/2N),2^(1/2N)]. */ in exp2() 118 /* exp2(x) = 2^(k/N) * 2^r ~= scale + scale * (tail + 2^r - 1). */ in exp2() 138 strong_alias (exp2, __exp2_finite) in strong_alias() 139 hidden_alias (exp2, __ieee754_exp2) in strong_alias() 141 long double exp2l (long double x) { return exp2 (x); } in strong_alias()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/ |
H A D | 3d_dm_inplace_fog_common.h | 38 const float lineIntegral = (1.0f - exp2(-falloff)) / falloff; in CalculateLineIntegral() 41 return layer.density * exp2(-exponent) * (abs(falloff) > epsilon ? lineIntegral : lineIntegralTaylor); in CalculateLineIntegral() 77 float expFogFactor = min(1.0 - clamp(exp2(-exponentialHeightLineIntegral), 0.0, 1.0), maxOpacity); in InplaceFogBlock()
|
H A D | 3d_dm_indirect_lighting_common.h | 65 float a004 = min(r.x * r.x, exp2(-9.28 * NoV)) * r.x + r.y; in EnvBRDFApprox() 81 return min(r.x * r.x, exp2(-9.28 * NoV)) * r.x + r.y; // 9.28 : param in EnvBRDFApproxNonmetal()
|
/third_party/ltp/testcases/realtime/func/pi-tests/ |
H A D | parse-testpi2.py | 39 exp2= re.compile(r'^Noise Thread') 45 if exp1.search(line) and exp2.search(prev_line) and exp3.search(prev_line):
|
H A D | parse-testpi1.py | 38 exp2= re.compile(r'^Noise Thread') 42 if exp1.search(line) and exp2.search(prev_line)and exp3.search(prev_line):
|
/third_party/optimized-routines/math/test/ |
H A D | runulp.sh | 42 t exp2 0 0xffff000000000000 10000 43 t exp2 0x1p-6 0x1p6 40000 44 t exp2 -0x1p-6 -0x1p6 40000 45 t exp2 633.3 733.3 10000 46 t exp2 -633.3 -777.3 10000
|
H A D | ulp.c | 330 F1 (exp2) 336 D1 (exp2) 346 F (__s_exp2f_1u, __s_exp2f_1u, exp2, mpfr_exp2, 1, 1, f1, 0) 347 F (__s_exp2f, __s_exp2f, exp2, mpfr_exp2, 1, 1, f1, 0) 360 F (__v_exp2f_1u, v_exp2f_1u, exp2, mpfr_exp2, 1, 1, f1, 1) 361 F (__v_exp2f, v_exp2f, exp2, mpfr_exp2, 1, 1, f1, 1) 374 F (__vn_exp2f_1u, vn_exp2f_1u, exp2, mpfr_exp2, 1, 1, f1, 1) 375 F (__vn_exp2f, vn_exp2f, exp2, mpfr_exp2, 1, 1, f1, 1) 386 F (_ZGVnN4v_exp2f, Z_exp2f, exp2, mpfr_exp2, 1, 1, f1, 1)
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | f.cpp | 14 * for fast exp2/log2. 34 * - For example, to compute exp2 5th order polynomial between [0, 1] do: 62 boost::math::ntl::RR exp2(const boost::math::ntl::RR& x) in exp2() function 77 return exp2(x); in f()
|
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/multiple_capturer_test/src/ |
H A D | multiple_audio_capturer_unit_test.cpp | 60 SourceType s3, FOCUS_RULING exp2) in TestUnitFunc() 86 if (exp2 == START_NORMAL) { in TestUnitFunc() 88 } else if (exp2 == START_FAIL) { in TestUnitFunc() 92 } else if (exp2 == STOP_CAP1) { in TestUnitFunc() 96 } else if (exp2 == STOP_CAP2) { in TestUnitFunc() 101 AUDIO_ERR_LOG("The input exp2 value exceeds the expected range."); in TestUnitFunc() 59 TestUnitFunc(SourceType s1, SourceType s2, FOCUS_RULING exp1, SourceType s3, FOCUS_RULING exp2) TestUnitFunc() argument
|
/third_party/ffmpeg/libavutil/ |
H A D | ffmath.h | 44 return exp2(M_LOG2_10 * x); in ff_exp10()
|
H A D | libm.h | 287 #undef exp2 macro 288 #define exp2(x) exp((x) * M_LN2) macro 293 #define exp2f(x) ((float)exp2(x))
|
/third_party/musl/libc-test/src/api/ |
H A D | tgmath.c | 106 #ifdef exp2 in f() 107 {double r = exp2(x);} in f() 109 #error no exp2(x) in f()
|
/third_party/mesa3d/src/intel/tools/ |
H A D | i965_gram.y | 485 %type <llint> exp2 941 predicate sendopcode execsize dst payload exp2 sharedfunction instoptions 963 | predicate sendopcode execsize exp dst payload exp2 sharedfunction instoptions 986 | predicate sendopcode execsize dst payload payload exp2 sharedfunction instoptions 1005 | predicate SENDS execsize dst payload payload exp2 exp2 sharedfunction instoptions 1033 | predicate SENDS execsize dst payload payload src exp2 sharedfunction instoptions 1087 exp2: label 2000 exp2 2004 | LSQUARE exp2 COMM [all...] |
/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | exp10f.c | 19 return exp2(3.32192809488736234787031942948939 * x); in exp10f()
|
H A D | exp10.c | 18 y = exp2(3.32192809488736234787031942948939 * y); in exp10()
|
/third_party/musl/src/math/ |
H A D | exp10f.c | 19 return exp2(3.32192809488736234787031942948939 * x); in exp10f()
|
H A D | exp10.c | 18 y = exp2(3.32192809488736234787031942948939 * y); in exp10()
|
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/multiple_capturer_test/include/ |
H A D | multiple_audio_capturer_unit_test.h | 63 static void TestUnitFunc(SourceType s1, SourceType s2, FOCUS_RULING exp1, SourceType s3, FOCUS_RULING exp2);
|
/third_party/musl/libc-test/src/math/ |
H A D | exp2.c | 6 #include "sanity/exp2.h" 7 #include "special/exp2.h" 26 y = exp2(p->x); in main() 34 printf("%s:%d: bad fp exception: %s exp2(%a)=%a, want %s", in main() 40 printf("%s:%d: %s exp2(%a) want %a got %a ulperr %.3f = %a + %a\n", in main()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/ |
H A D | func_exponential.hpp | 59 /// @param v exp2 function is defined for input values of v defined in the range (inf-, inf+) in the limit of the type precision. 62 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/exp2.xml">GLSL exp2 man page</a> 65 GLM_FUNC_DECL vecType<T, P> exp2(vecType<T, P> const & v);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | tgmath.h | 166 #undef exp2 macro 229 #define exp2(x) __tg_real(exp2, (x)) macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | tgmath.h | 166 #undef exp2 macro 229 #define exp2(x) __tg_real(exp2, (x)) macro
|