Home
last modified time | relevance | path

Searched refs:exp2 (Results 1 - 25 of 115) sorted by relevance

12345

/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-golang/parse-number-fxx-test-data/slowstrconv/
H A Dslowstrconv.go83 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 Dunittests.cpp73 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 Dpoly_sin.c204 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 Dpoly_sin.c204 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 Dtest_bitmap.c40 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 Dmath_exp2_test.cpp17 * @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 Dexp2.c76 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()
/third_party/ltp/testcases/realtime/func/pi-tests/
H A Dparse-testpi2.py39 exp2= re.compile(r'^Noise Thread')
45 if exp1.search(line) and exp2.search(prev_line) and exp3.search(prev_line):
H A Dparse-testpi1.py38 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 Drunulp.sh42 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 Dulp.c330 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 Df.cpp14 * 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()
/kernel/linux/linux-6.6/lib/
H A Dtest_bitmap.c44 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...]
/kernel/linux/linux-5.10/fs/nfsd/
H A Dvfs.c62 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 Dvfs.c125 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 Di965_gram.y485 %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/ffmpeg/libavutil/
H A Dlibm.h287 #undef exp2 macro
288 #define exp2(x) exp((x) * M_LN2) macro
293 #define exp2f(x) ((float)exp2(x))
H A Dffmath.h44 return exp2(M_LOG2_10 * x); in ff_exp10()
/third_party/musl/libc-test/src/api/
H A Dtgmath.c106 #ifdef exp2 in f()
107 {double r = exp2(x);} in f()
109 #error no exp2(x) in f()
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dexp10f.c19 return exp2(3.32192809488736234787031942948939 * x); in exp10f()
H A Dexp10.c18 y = exp2(3.32192809488736234787031942948939 * y); in exp10()
/third_party/musl/src/math/
H A Dexp10f.c19 return exp2(3.32192809488736234787031942948939 * x); in exp10f()
H A Dexp10.c18 y = exp2(3.32192809488736234787031942948939 * y); in exp10()
/third_party/musl/libc-test/src/math/
H A Dexp2.c6 #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 Dfunc_exponential.hpp59 /// @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);

Completed in 13 milliseconds

12345