/external/libcxx/test/std/utilities/time/time.duration/ |
ratio.fail.cpp | 23 static const int den = D; member in class:Ratio
|
/external/valgrind/VEX/test/ |
x87fxam.c | 25 double den ( void ) { return 9.1e-220 / 1e100; } function 41 d = den(); do_fxam(); printf("0x%4x: %f\n", i, d ); 42 d = -den(); do_fxam(); printf("0x%4x: %f\n", i, d );
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/ |
ratio.fail.cpp | 23 static const int den = D; member in class:Ratio
|
/external/pdfium/core/src/fxge/agg/agg23/ |
agg_math.h | 54 FX_FLOAT den = FXSYS_Mul(bx - ax, dy - cy) - FXSYS_Mul(by - ay, dx - cx); local 55 if (FXSYS_fabs(den) < intersection_epsilon) { 58 *x = ax + FXSYS_MulDiv(bx - ax, num, den); 59 *y = ay + FXSYS_MulDiv(by - ay, num, den);
|
/external/speex/libspeex/ |
filters_bfin.h | 85 void filter_mem16(const spx_word16_t *_x, const spx_coef_t *num, const spx_coef_t *den, spx_word16_t *_y, int N, int ord, spx_mem_t *mem, char *stack) 101 numden[2*i+1] = den[i]; 230 void iir_mem16(const spx_word16_t *_x, const spx_coef_t *den, spx_word16_t *_y, int N, int ord, spx_mem_t *mem, char *stack) 347 : : "m" (yy), "m" (_x), "m" (_y), "m" (den), "m" (N), "m" (ord), "m" (mem) 359 spx_coef_t *den; local 360 den = (spx_coef_t*)((((int)den2)+4)&0xfffffffc); 362 den[i] = 0; 363 filter_mem16(x, num, den, y, N, ord, mem, stack); 468 void filter_mem2(const spx_sig_t *_x, const spx_coef_t *num, const spx_coef_t *den, spx_sig_t *_y, int N, int ord, spx_mem_t *mem) 487 yi = MAC16_16(yi, den[j], -y[i-j-1]) [all...] |
filters_sse.h | 39 __m128 num[3], den[3], mem[3]; local 48 den[i] = _mm_loadu_ps(_den+4*i); 52 den[2] = _mm_setr_ps(_den[8], _den[9], 0, 0); 69 mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0])); 75 mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[1])); 80 mem[2] = _mm_sub_ps(mem[2], _mm_mul_ps(yy, den[2])); 92 __m128 num[2], den[2], mem[2]; local 101 den[i] = _mm_loadu_ps(_den+4*i); 119 mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0])); 125 mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[1])) 146 __m128 den[3], mem[3]; local 195 __m128 den[2], mem[2]; local [all...] |
/frameworks/base/core/java/android/hardware/camera2/utils/ |
ParamsUtils.java | 139 int den = RATIONAL_DENOMINATOR; local 142 numF = value * den; 144 if ((numF > Integer.MIN_VALUE && numF < Integer.MAX_VALUE) || (den == 1)) { 148 den /= 10; 157 return new Rational(num, den);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
ProperBigFractionFormat.java | 96 BigInteger den = fraction.getDenominator(); local 97 BigInteger whole = num.divide(den); 98 num = num.remainder(den); 109 getDenominatorFormat().format(den, toAppendTo, pos); 200 final BigInteger den = parseNextBigInteger(source, pos); local 201 if (den == null) { 209 if (den.compareTo(BigInteger.ZERO) < 0) { 219 num = whole.multiply(den).add(num); 224 return new BigFraction(num, den);
|
ProperFractionFormat.java | 97 int den = fraction.getDenominator(); local 98 int whole = num / den; 99 num = num % den; 108 getDenominatorFormat().format(den, toAppendTo, 200 Number den = getDenominatorFormat().parse(source, pos); local 201 if (den == null) { 209 if (den.intValue() < 0) { 217 int d = den.intValue();
|
BigFractionFormat.java | 251 final BigInteger den = parseNextBigInteger(source, pos); local 252 if (den == null) { 260 return new BigFraction(num, den);
|
FractionFormat.java | 262 final Number den = getDenominatorFormat().parse(source, pos); local 263 if (den == null) { 271 return new Fraction(num.intValue(), den.intValue());
|
/external/libopus/silk/ |
A2NLSF.c | 121 opus_int32 nom, den; local 190 den = ylo - yhi; 191 nom = silk_LSHIFT( ylo, 8 - BIN_DIV_STEPS_A2NLSF_FIX ) + silk_RSHIFT( den, 1 ); 192 if( den != 0 ) { 193 ffrac += silk_DIV32( nom, den );
|
/external/libvpx/libvpx/ |
args.c | 179 int den; /**< fraction denominator */ member in struct:vpx_rational 201 rat.den = rawval;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
args.c | 179 int den; /**< fraction denominator */ member in struct:vpx_rational 201 rat.den = rawval;
|
/ndk/sources/cxx-stl/stlport/src/ |
complex_trig.cpp | 113 _Tp den = ::cos(re2) + ::cosh(im2); local 114 return complex<_Tp>(::sin(re2) / den, ::sinh(im2) / den); 176 _Tp den = ::cosh(re2) + ::cos(im2); local 177 return complex<_Tp>(::sinh(re2) / den, ::sin(im2) / den);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
DormandPrince853Integrator.java | 274 double den = error1 + 0.01 * error2; local 275 if (den <= 0.0) { 276 den = 1.0; 279 return FastMath.abs(h) * error1 / FastMath.sqrt(mainSetDimension * den);
|
/external/jhead/ |
gpsinfo.c | 212 int den, digits; local 214 den = Get32s(ValuePtr+4+a*ComponentSize); 216 while (den > 1 && digits <= 6){ 217 den = den / 10;
|
/external/webrtc/src/common_audio/signal_processing/ |
signal_processing_unittest.cc | 131 WebRtc_Word32 den = -5; local 137 EXPECT_EQ(-91772805, WebRtcSpl_DivResultInQ31(den, num)); 138 EXPECT_EQ(-23, WebRtcSpl_DivW32W16ResW16(num, (WebRtc_Word16)den)); 139 EXPECT_EQ(-23, WebRtcSpl_DivW32W16(num, (WebRtc_Word16)den));
|
/external/eigen/unsupported/test/ |
levenberg_marquardt.cpp | 521 double den = 1.+b[1]*x[i]; local 522 fjac(i,0) = b[1]*x[i] / den; 523 fjac(i,1) = b[0]*x[i]*(den-b[1]*x[i])/den/den; [all...] |
/external/libopus/celt/ |
rate.c | 160 opus_int32 den; local 198 den=((opus_int32)(2*N-1)<<9)-459; 199 qb = IMIN((num+(den>>1))/den, 57); 213 den = ((opus_int32)ndof<<9)-(N==2?512:487); 214 qb = IMIN((num+(den>>1))/den, (N==2?64:61)); 230 den = (ndof-1)<<BITRES; 231 qb = IMIN((num+(den>>1))/den, MAX_FINE_BITS) 432 int N0, N, den; local [all...] |
/external/openssh/ |
ge25519.c | 199 fe25519 t, chk, num, den, den2, den4, den6; local 204 fe25519_mul(&den, &num, &ge25519_ecd); /* den = dy^2 */ 206 fe25519_add(&den, &r->z, &den); /* den = dy^2+1 */ 208 /* Computation of sqrt(num/den) */ 209 /* 1.: computation of num^((p-5)/8)*den^((7p-35)/8) = (num*den^7)^((p-5)/8) */ 210 fe25519_square(&den2, &den); [all...] |
/frameworks/av/services/audioflinger/ |
AudioResamplerFirGen.h | 333 double den = Poly4(-0.34598737196e8, 0.23852643181e6, local 335 return num / den; 348 double den = Poly3(0.103150763823e2, -0.14181687413e2, local 350 return exp(x) * sqrt(y) * num / den; 375 static inline double I0SqrRat(double x2, double num, double den) { 380 I0Term<6>::value, x2) * num / den; // e < 1.6e-7 388 den *= Poly4(-0.34598737196e8, 0.23852643181e6, 390 return num / den;
|
/frameworks/base/core/java/android/util/ |
Rational.java | 339 double den = mDenominator; local 341 return num / den; 356 float den = mDenominator; local 358 return num / den; 558 * "<i>num</i>{@code /}<i>den</i>" or 559 * "<i>num</i>{@code :}<i>den</i>" {@code => new Rational(num, den);}, 560 * where <i>num</i> and <i>den</i> are string integers potentially
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_binop.py | 33 def __init__(self, num=0L, den=1L): 34 """Constructor: Rat([num[, den]]). 39 if not isint(den): 40 raise TypeError, "Rat denominator must be int or long (%r)" % den 42 if den == 0: 44 g = gcd(den, num) 46 self.__den = long(den//g) 54 """Accessor function for read-only 'den' attribute of Rat.""" 56 den = property(_get_den, None) variable in class:Rat 71 """Convert a Rat to an int; self.den must be 1."" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_binop.py | 33 def __init__(self, num=0L, den=1L): 34 """Constructor: Rat([num[, den]]). 39 if not isint(den): 40 raise TypeError, "Rat denominator must be int or long (%r)" % den 42 if den == 0: 44 g = gcd(den, num) 46 self.__den = long(den//g) 54 """Accessor function for read-only 'den' attribute of Rat.""" 56 den = property(_get_den, None) variable in class:Rat 71 """Convert a Rat to an int; self.den must be 1."" [all...] |