/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()
|
/kernel/linux/linux-5.10/arch/x86/math-emu/ |
H A D | poly_sin.c | 204 long int exponent, exp2, echange; in poly_cos() local 293 exp2 = -1; in poly_cos() 300 exp2 -= 16; in poly_cos() 336 shr_Xsig(&accumulator, exp2 - exponent); in poly_cos() 357 exp2 += norm_Xsig(&accumulator); in poly_cos() 359 exp2++; in poly_cos() 360 shr_Xsig(&fix_up, 65 + exp2); in poly_cos() 366 setexponentpos(&result, exp2 + echange); in poly_cos()
|
/kernel/linux/linux-6.6/arch/x86/math-emu/ |
H A D | poly_sin.c | 204 long int exponent, exp2, echange; in poly_cos() local 293 exp2 = -1; in poly_cos() 300 exp2 -= 16; in poly_cos() 336 shr_Xsig(&accumulator, exp2 - exponent); in poly_cos() 357 exp2 += norm_Xsig(&accumulator); in poly_cos() 359 exp2++; in poly_cos() 360 shr_Xsig(&fix_up, 65 + exp2); in poly_cos() 366 setexponentpos(&result, exp2 + echange); in poly_cos()
|
/kernel/linux/linux-5.10/lib/ |
H A D | test_bitmap.c | 40 static const unsigned long exp2[] __initconst = { 49 /* exp3_0_1 = (exp2[0] & ~exp2_to_exp3_mask) | (exp2[1] & exp2_to_exp3_mask) */ 53 /* exp3_1_0 = (exp2[1] & ~exp2_to_exp3_mask) | (exp2[0] & exp2_to_exp3_mask) */ 273 #define EXP2_IN_BITS (sizeof(exp2) * 8) 284 bitmap_replace(bmap, &exp2[0 * nlongs], &exp2[1 * nlongs], exp2_to_exp3_mask, nbits); in test_replace() 288 bitmap_replace(bmap, &exp2[1 * nlongs], &exp2[ in test_replace() [all...] |
/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
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_bitmap.c | 44 static const unsigned long exp2[] __initconst = { 53 /* exp3_0_1 = (exp2[0] & ~exp2_to_exp3_mask) | (exp2[1] & exp2_to_exp3_mask) */ 57 /* exp3_1_0 = (exp2[1] & ~exp2_to_exp3_mask) | (exp2[0] & exp2_to_exp3_mask) */ 333 #define EXP2_IN_BITS (sizeof(exp2) * 8) 344 bitmap_replace(bmap, &exp2[0 * nlongs], &exp2[1 * nlongs], exp2_to_exp3_mask, nbits); in test_replace() 348 bitmap_replace(bmap, &exp2[1 * nlongs], &exp2[ in test_replace() [all...] |
/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()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | vfs.c | 62 struct svc_export *exp = *expp, *exp2 = NULL; in nfsd_cross_mnt() local 78 exp2 = rqst_exp_get_by_name(rqstp, &path); in nfsd_cross_mnt() 79 if (IS_ERR(exp2)) { in nfsd_cross_mnt() 80 err = PTR_ERR(exp2); in nfsd_cross_mnt() 94 (exp->ex_flags & NFSEXP_CROSSMOUNT) || EX_NOHIDE(exp2)) { in nfsd_cross_mnt() 104 *expp = exp2; in nfsd_cross_mnt() 105 exp2 = exp; in nfsd_cross_mnt() 108 exp_put(exp2); in nfsd_cross_mnt() 126 struct svc_export *exp2; in nfsd_lookup_parent() local 132 exp2 in nfsd_lookup_parent() [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | vfs.c | 125 struct svc_export *exp = *expp, *exp2 = NULL; in nfsd_cross_mnt() local 145 exp2 = rqst_exp_get_by_name(rqstp, &path); in nfsd_cross_mnt() 146 if (IS_ERR(exp2)) { in nfsd_cross_mnt() 147 err = PTR_ERR(exp2); in nfsd_cross_mnt() 161 (exp->ex_flags & NFSEXP_CROSSMOUNT) || EX_NOHIDE(exp2)) { in nfsd_cross_mnt() 171 *expp = exp2; in nfsd_cross_mnt() 172 exp2 = exp; in nfsd_cross_mnt() 175 exp_put(exp2); in nfsd_cross_mnt() 193 struct svc_export *exp2; in nfsd_lookup_parent() local 199 exp2 in nfsd_lookup_parent() [all...] |
/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()
|
/third_party/musl/src/math/ |
H A D | exp10f.c | 19 return exp2(3.32192809488736234787031942948939 * x); in exp10f()
|
/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);
|