/frameworks/av/media/libeffects/testlibs/ |
EffectsMath.c | 49 int32_t exp = 31 - __builtin_clz(x); local 50 uint32_t segStart = x >> (exp - 6); 54 segStart <<= exp - 6; 56 return (exp << 15) + log + (((x - segStart) * (logEnd - log)) >> (exp - 6)); 87 uint32_t exp = gExpTab[j]; local 90 return ((exp << 9) + (expEnd - exp) * x) >> (31 - i);
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
dec_gain.cpp | 195 Word16 exp; local 242 Log2(temp1, &exp, &frac, pOverflow); 243 exp = sub(exp, 12, pOverflow); 246 temp2 = shl(exp, 10, pOverflow); 250 L_tmp = Mpy_32_16(exp, frac, 24660, pOverflow); 270 * = 2^exp + 2^frac * 272 * gcode0 (Q14) = 2^14*2^frac = gc0 * 2^(14-exp) * 275 gc_pred(pred_state, mode, code, &exp, &frac, NULL, NULL, pOverflow); 289 temp1 = sub(10, exp, pOverflow) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
voicefac.c | 37 Word16 tmp, exp, ener1, exp1, ener2, exp2; local 47 exp = norm_l(L_tmp); 48 tmp = extract_h(L_tmp << exp); 50 exp1 = exp1 - exp - 10; /* 10 -> gain_pit Q14 to Q9 */ 58 exp = norm_s(gain_code); 59 tmp = gain_code << exp; 62 exp2 = exp2 - (exp + exp);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/ |
hexfloat.h | 27 hexfloat(long long m1, unsigned long long m0, int exp) 32 std::__clz(m0)/4*4)), exp);
|
/bionic/libm/ |
fpclassify.c | 27 * $FreeBSD: src/lib/libc/gen/fpclassify.c,v 1.2 2005/02/06 03:23:31 das Exp $ 43 if (u.bits.exp == 0) { 48 if (u.bits.exp == 255) { 62 if (u.bits.exp == 0) { 67 if (u.bits.exp == 2047) { 81 if (u.bits.exp == 0) { 87 if (u.bits.exp == 32767) {
|
/external/libgsm/src/ |
rpe.c | 7 /* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/rpe.c,v 1.3 1994/05/10 20:18:46 jutta Exp $ */ 228 word exp, mant; local 233 exp = 0; 234 if (xmaxc > 15) exp = SASR(xmaxc, 3) - 1; 235 mant = xmaxc - (exp << 3); 238 exp = -4; 244 exp--; 249 assert( exp >= -4 && exp <= 6 ); 252 *exp_out = exp; 268 word exp, mant; local 460 word mant, exp; local 481 word exp, mant; local [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_fmodl.c | 78 if((uy.bits.exp|uy.bits.manh|uy.bits.manl)==0 || /* y=0 */ 79 (ux.bits.exp == BIAS + LDBL_MAX_EXP) || /* or x not finite */ 80 (uy.bits.exp == BIAS + LDBL_MAX_EXP && 83 if(ux.bits.exp<=uy.bits.exp) { 84 if((ux.bits.exp<uy.bits.exp) || 96 if(ux.bits.exp == 0) { /* subnormal x */ 98 ix = ux.bits.exp - (BIAS + 512); 100 ix = ux.bits.exp - BIAS [all...] |
s_ilogbl.c | 30 if (u.bits.exp == 0) { 47 } else if (u.bits.exp < (LDBL_MAX_EXP << 1) - 1) 48 return (u.bits.exp - LDBL_MAX_EXP + 1);
|
s_logbl.c | 31 if (u.bits.exp == 0) { 51 if (u.bits.exp < (LDBL_MAX_EXP << 1) - 1) /* normal */ 52 return ((long double)(u.bits.exp - LDBL_MAX_EXP + 1));
|
s_nextafterl.c | 42 if ((ux.bits.exp == 0x7fff && 44 (uy.bits.exp == 0x7fff && 58 ux.bits.exp -= 1; 67 ux.bits.exp += 1; 70 if(ux.bits.exp==0x7fff) return x+x; /* overflow */ 71 if(ux.bits.exp==0) { /* underflow */
|
s_fmax.c | 43 if (u[0].bits.exp == 2047 && (u[0].bits.manh | u[0].bits.manl) != 0) 45 if (u[1].bits.exp == 2047 && (u[1].bits.manh | u[1].bits.manl) != 0)
|
s_fmaxf.c | 43 if (u[0].bits.exp == 255 && u[0].bits.man != 0) 45 if (u[1].bits.exp == 255 && u[1].bits.man != 0)
|
s_fmaxl.c | 45 if (u[0].bits.exp == 32767 && (u[0].bits.manh | u[0].bits.manl) != 0) 47 if (u[1].bits.exp == 32767 && (u[1].bits.manh | u[1].bits.manl) != 0)
|
s_fmin.c | 43 if (u[0].bits.exp == 2047 && (u[0].bits.manh | u[0].bits.manl) != 0) 45 if (u[1].bits.exp == 2047 && (u[1].bits.manh | u[1].bits.manl) != 0)
|
s_fminf.c | 43 if (u[0].bits.exp == 255 && u[0].bits.man != 0) 45 if (u[1].bits.exp == 255 && u[1].bits.man != 0)
|
s_fminl.c | 45 if (u[0].bits.exp == 32767 && (u[0].bits.manh | u[0].bits.manl) != 0) 47 if (u[1].bits.exp == 32767 && (u[1].bits.manh | u[1].bits.manl) != 0)
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
eval.pass.cpp | 63 double x_mean = std::exp(d.m() + sqr(d.s())/2); 64 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); 65 double x_skew = (std::exp(sqr(d.s())) + 2) * 66 std::sqrt((std::exp(sqr(d.s())) - 1)); 67 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + 68 3*std::exp(2*sqr(d.s())) - 6; 105 double x_mean = std::exp(d.m() + sqr(d.s())/2); 106 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())) [all...] |
eval_param.pass.cpp | 65 double x_mean = std::exp(p.m() + sqr(p.s())/2); 66 double x_var = (std::exp(sqr(p.s())) - 1) * std::exp(2*p.m() + sqr(p.s())); 67 double x_skew = (std::exp(sqr(p.s())) + 2) * 68 std::sqrt((std::exp(sqr(p.s())) - 1)); 69 double x_kurtosis = std::exp(4*sqr(p.s())) + 2*std::exp(3*sqr(p.s())) + 70 3*std::exp(2*sqr(p.s())) - 6; 108 double x_mean = std::exp(p.m() + sqr(p.s())/2); 109 double x_var = (std::exp(sqr(p.s())) - 1) * std::exp(2*p.m() + sqr(p.s())) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
scale_sig_opt.s | 20 @ Word16 exp /* (i) : exponent: x = round(x << exp) */ 25 @r2 --- exp 34 CMP r2, #0 @Compare exp and 0 35 RSB r7, r2, #0 @exp = -exp 36 ADD r10, r2, #16 @16 + exp 59 MOV r5, r6, ASR r7 @L_tmp >>= exp
|
/external/bison/etc/ |
bench.pl.in | 50 %type <val> exp input 61 exp { if (\$1 != 0) abort (); \$\$ = \$1; } 62 | input exp { if (\$2 != \$1 + 1) abort (); \$\$ = \$2; } 65 exp: label 175 %type <ival> exp 192 | exp '\\n' { USE (\$1); } 195 exp: label 197 | exp '=' exp 203 | exp '+' exp { \$\$ = \$1 + \$3; [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
agc2_amr_wb.cpp | 124 int16 i, exp; local 145 exp = normalize_amr_wb(s) - 1; 146 gain_out = amr_wb_round(s << exp); 167 exp -= i; 175 s = shr_int32(s, exp); /* add exponent */
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_fpformat.py | 37 num, exp = expected.split("e") 38 if len(exp) < 4: 39 exp = exp[0] + "0" + exp[1:] 40 expected = "%se%s" % (num, exp)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_fpformat.py | 37 num, exp = expected.split("e") 38 if len(exp) < 4: 39 exp = exp[0] + "0" + exp[1:] 40 expected = "%se%s" % (num, exp)
|
/bionic/libm/arm/ |
_fpmath.h | 43 unsigned int exp :11; member in struct:IEEEl2bits::__anon740 50 unsigned int exp :11;
|
/external/llvm/utils/release/ |
findRegressions-nightly.py | 10 (tp, exp) = ('compileTime_', 'executeTime_') 58 test[fname][exp + n] = float(t[2].strip('\r\n')) 60 print test[fname][exp + n] 106 if d_old[t].has_key(exp + x): 107 if not d_new[t].has_key(exp + x): 108 print t + " *** REGRESSION (" + exp + x + ")\n" 111 if d_new[t].has_key(exp + x): 112 print t + " * NEW PASS (" + exp + x + ")\n"
|