Home
last modified time | relevance | path

Searched refs:exp2 (Results 1 - 25 of 107) 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()
/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/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/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/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/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()
/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);
/third_party/musl/porting/uniproton/kernel/include/
H A Dtgmath.h166 #undef exp2 macro
229 #define exp2(x) __tg_real(exp2, (x)) macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dtgmath.h166 #undef exp2 macro
229 #define exp2(x) __tg_real(exp2, (x)) macro
/third_party/musl/include/
H A Dtgmath.h166 #undef exp2 macro
229 #define exp2(x) __tg_real(exp2, (x)) macro
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cProgramInterfaceQueryTests.cpp1476 std::set<GLuint> exp2; in Run() local
1477 exp2.insert(indicesU["NotSoSimpleBlockk.a[0]"]); in Run()
1478 exp2.insert(indicesU["NotSoSimpleBlockk.b[0]"]); in Run()
1479 exp2.insert(indicesU["NotSoSimpleBlockk.c"]); in Run()
1484 if (exp2.find(param[i]) == exp2.end()) in Run()
1889 std::set<GLuint> exp2; in Run() local
1891 exp2.insert(indicesU["d"]); in Run()
1892 exp2.insert(indicesU["e"]); in Run()
1897 if (exp2 in Run()
2493 std::set<GLuint> exp2; Run() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DMath.hpp147 inline float exp2(float x) in exp2() function
152 inline int exp2(int x) in exp2() function
/third_party/skia/tests/
H A DGrTextBlobTest.cpp65 SkMatrix m = SkMatrix::Scale(std::exp2(n), std::exp2(n)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()

Completed in 16 milliseconds

12345