Home
last modified time | relevance | path

Searched refs:den (Results 1 – 25 of 233) sorted by relevance

12345678910

/external/llvm/test/CodeGen/AMDGPU/
Dsdivrem24.ll18 %den = load i8, i8 addrspace(1) * %den_ptr
19 %result = sdiv i8 %num, %den
37 %den = load i16, i16 addrspace(1) * %den_ptr, align 2
38 %result = sdiv i16 %num, %den
56 %den = load i32, i32 addrspace(1) * %den_ptr, align 4
58 %den.i24.0 = shl i32 %den, 8
60 %den.i24 = ashr i32 %den.i24.0, 8
61 %result = sdiv i32 %num.i24, %den.i24
75 %den = load i32, i32 addrspace(1) * %den_ptr, align 4
77 %den.i24.0 = shl i32 %den, 7
[all …]
Dudivrem24.ll18 %den = load i8, i8 addrspace(1) * %den_ptr
19 %result = udiv i8 %num, %den
37 %den = load i16, i16 addrspace(1) * %den_ptr, align 2
38 %result = udiv i16 %num, %den
56 %den = load i32, i32 addrspace(1) * %den_ptr, align 4
58 %den.i24.0 = shl i32 %den, 8
60 %den.i24 = lshr i32 %den.i24.0, 8
61 %result = udiv i32 %num.i24, %den.i24
76 %den = load i32, i32 addrspace(1) * %den_ptr, align 4
78 %den.i24.0 = shl i32 %den, 7
[all …]
Dfdiv.f64.ll35 %den = load double, double addrspace(1)* %gep.1
36 %result = fdiv double %num, %den
43 %den = load double, double addrspace(1)* %in
44 %result = fdiv double %num, %den
50 define void @fdiv_f64_v_s(double addrspace(1)* %out, double addrspace(1)* %in, double %den) nounwin…
52 %result = fdiv double %num, %den
58 define void @fdiv_f64_s_s(double addrspace(1)* %out, double %num, double %den) nounwind {
59 %result = fdiv double %num, %den
68 %den = load <2 x double>, <2 x double> addrspace(1)* %gep.1
69 %result = fdiv <2 x double> %num, %den
[all …]
Dsrem.ll8 %den = load i32, i32 addrspace(1) * %den_ptr
9 %result = srem i32 %num, %den
37 %den = load <2 x i32>, <2 x i32> addrspace(1) * %den_ptr
38 %result = srem <2 x i32> %num, %den
53 %den = load <4 x i32>, <4 x i32> addrspace(1) * %den_ptr
54 %result = srem <4 x i32> %num, %den
69 %den = load i64, i64 addrspace(1) * %den_ptr
70 %result = srem i64 %num, %den
85 %den = load <2 x i64>, <2 x i64> addrspace(1) * %den_ptr
86 %result = srem <2 x i64> %num, %den
[all …]
/external/libcxx/test/std/utilities/ratio/
Dtypedefs.pass.cpp16 static_assert(std::atto::num == 1 && std::atto::den == 1000000000000000000ULL, ""); in main()
17 static_assert(std::femto::num == 1 && std::femto::den == 1000000000000000ULL, ""); in main()
18 static_assert(std::pico::num == 1 && std::pico::den == 1000000000000ULL, ""); in main()
19 static_assert(std::nano::num == 1 && std::nano::den == 1000000000ULL, ""); in main()
20 static_assert(std::micro::num == 1 && std::micro::den == 1000000ULL, ""); in main()
21 static_assert(std::milli::num == 1 && std::milli::den == 1000ULL, ""); in main()
22 static_assert(std::centi::num == 1 && std::centi::den == 100ULL, ""); in main()
23 static_assert(std::deci::num == 1 && std::deci::den == 10ULL, ""); in main()
24 static_assert(std::deca::num == 10ULL && std::deca::den == 1, ""); in main()
25 static_assert(std::hecto::num == 100ULL && std::hecto::den == 1, ""); in main()
[all …]
/external/webrtc/webrtc/common_audio/signal_processing/
Ddivision_operations.c26 uint32_t WebRtcSpl_DivU32U16(uint32_t num, uint16_t den) in WebRtcSpl_DivU32U16() argument
29 if (den != 0) in WebRtcSpl_DivU32U16()
31 return (uint32_t)(num / den); in WebRtcSpl_DivU32U16()
38 int32_t WebRtcSpl_DivW32W16(int32_t num, int16_t den) in WebRtcSpl_DivW32W16() argument
41 if (den != 0) in WebRtcSpl_DivW32W16()
43 return (int32_t)(num / den); in WebRtcSpl_DivW32W16()
50 int16_t WebRtcSpl_DivW32W16ResW16(int32_t num, int16_t den) in WebRtcSpl_DivW32W16ResW16() argument
53 if (den != 0) in WebRtcSpl_DivW32W16ResW16()
55 return (int16_t)(num / den); in WebRtcSpl_DivW32W16ResW16()
62 int32_t WebRtcSpl_DivResultInQ31(int32_t num, int32_t den) in WebRtcSpl_DivResultInQ31() argument
[all …]
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/
Drational.h45 int den; ///< denominator member
56 const int64_t tmp= a.num * (int64_t)b.den - b.num * (int64_t)a.den; in av_cmp_q()
58 if(tmp) return ((tmp ^ a.den ^ b.den)>>63)|1; in av_cmp_q()
59 else if(b.den && a.den) return 0; in av_cmp_q()
70 return a.num / (double) a.den; in av_q2d()
83 int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max);
124 AVRational r = { q.den, q.num }; in av_inv_q()
/external/libvpx/libvpx/vpx_dsp/
Dprob.h50 static INLINE vpx_prob get_prob(int num, int den) { in get_prob() argument
51 return (den == 0) ? 128u : clip_prob(((int64_t)num * 256 + (den >> 1)) / den); in get_prob()
81 const unsigned int den = ct[0] + ct[1]; in mode_mv_merge_probs() local
82 if (den == 0) { in mode_mv_merge_probs()
85 const unsigned int count = VPXMIN(den, MODE_MV_COUNT_SAT); in mode_mv_merge_probs()
88 clip_prob(((int64_t)(ct[0]) * 256 + (den >> 1)) / den); in mode_mv_merge_probs()
/external/libcxx/test/std/utilities/ratio/ratio.arithmetic/
Dratio_subtract.pass.cpp20 static_assert(R::num == 0 && R::den == 1, ""); in main()
26 static_assert(R::num == -1 && R::den == 2, ""); in main()
32 static_assert(R::num == -3 && R::den == 2, ""); in main()
38 static_assert(R::num == -3 && R::den == 2, ""); in main()
44 static_assert(R::num == 3 && R::den == 2, ""); in main()
50 static_assert(R::num == 3 && R::den == 2, ""); in main()
56 static_assert(R::num == -126708206685271LL && R::den == 5177331081415LL, ""); in main()
62 static_assert(R::num == 0 && R::den == 1, ""); in main()
68 static_assert(R::num == 1 && R::den == 1, ""); in main()
74 static_assert(R::num == -1 && R::den == 1, ""); in main()
Dratio_add.pass.cpp20 static_assert(R::num == 2 && R::den == 1, ""); in main()
26 static_assert(R::num == 3 && R::den == 2, ""); in main()
32 static_assert(R::num == 1 && R::den == 2, ""); in main()
38 static_assert(R::num == 1 && R::den == 2, ""); in main()
44 static_assert(R::num == -1 && R::den == 2, ""); in main()
50 static_assert(R::num == -1 && R::den == 2, ""); in main()
56 static_assert(R::num == 127970191639601LL && R::den == 5177331081415LL, ""); in main()
62 static_assert(R::num == 0 && R::den == 1, ""); in main()
68 static_assert(R::num == 1 && R::den == 1, ""); in main()
74 static_assert(R::num == 1 && R::den == 1, ""); in main()
Dratio_multiply.pass.cpp20 static_assert(R::num == 1 && R::den == 1, ""); in main()
26 static_assert(R::num == 1 && R::den == 2, ""); in main()
32 static_assert(R::num == -1 && R::den == 2, ""); in main()
38 static_assert(R::num == -1 && R::den == 2, ""); in main()
44 static_assert(R::num == -1 && R::den == 2, ""); in main()
50 static_assert(R::num == -1 && R::den == 2, ""); in main()
56 static_assert(R::num == 15519594064236LL && R::den == 5177331081415LL, ""); in main()
Dratio_divide.pass.cpp20 static_assert(R::num == 1 && R::den == 1, ""); in main()
26 static_assert(R::num == 1 && R::den == 2, ""); in main()
32 static_assert(R::num == -1 && R::den == 2, ""); in main()
38 static_assert(R::num == -1 && R::den == 2, ""); in main()
44 static_assert(R::num == -1 && R::den == 2, ""); in main()
50 static_assert(R::num == -1 && R::den == 2, ""); in main()
56 static_assert(R::num == 630992477165LL && R::den == 127339199162436LL, ""); in main()
/external/speex/libspeex/
Dfilters_sse.h39 __m128 num[3], den[3], mem[3]; in filter_mem16_10() local
48 den[i] = _mm_loadu_ps(_den+4*i); in filter_mem16_10()
52 den[2] = _mm_setr_ps(_den[8], _den[9], 0, 0); in filter_mem16_10()
69 mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0])); in filter_mem16_10()
75 mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[1])); in filter_mem16_10()
80 mem[2] = _mm_sub_ps(mem[2], _mm_mul_ps(yy, den[2])); in filter_mem16_10()
92 __m128 num[2], den[2], mem[2]; in filter_mem16_8() local
101 den[i] = _mm_loadu_ps(_den+4*i); in filter_mem16_8()
119 mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0])); in filter_mem16_8()
125 mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[1])); in filter_mem16_8()
[all …]
Dfilters_bfin.h85 void filter_mem16(const spx_word16_t *_x, const spx_coef_t *num, const spx_coef_t *den, spx_word16_… in filter_mem16() argument
101 numden[2*i+1] = den[i]; in filter_mem16()
230 void iir_mem16(const spx_word16_t *_x, const spx_coef_t *den, spx_word16_t *_y, int N, int ord, spx… in iir_mem16() argument
347 : : "m" (yy), "m" (_x), "m" (_y), "m" (den), "m" (N), "m" (ord), "m" (mem) in iir_mem16()
359 spx_coef_t *den; in fir_mem16() local
360 den = (spx_coef_t*)((((int)den2)+4)&0xfffffffc); in fir_mem16()
362 den[i] = 0; in fir_mem16()
363 filter_mem16(x, num, den, y, N, ord, mem, stack); in fir_mem16()
468 void filter_mem2(const spx_sig_t *_x, const spx_coef_t *num, const spx_coef_t *den, spx_sig_t *_y, …
487 yi = MAC16_16(yi, den[j], -y[i-j-1]);
[all …]
/external/libcxx/include/
Dratio25 static constexpr intmax_t den;
26 typedef ratio<num, den> type;
245 static _LIBCPP_CONSTEXPR const intmax_t den = __da / __gcd;
247 typedef ratio<num, den> type;
254 _LIBCPP_CONSTEXPR const intmax_t ratio<_Num, _Den>::den;
280 static const intmax_t __gcd_n1_d2 = __static_gcd<_R1::num, _R2::den>::value;
281 static const intmax_t __gcd_d1_n2 = __static_gcd<_R1::den, _R2::num>::value;
286 __ll_mul<_R2::den / __gcd_n1_d2, _R1::den / __gcd_d1_n2>::value
308 static const intmax_t __gcd_d1_d2 = __static_gcd<_R1::den, _R2::den>::value;
312 __ll_mul<_R1::num / __gcd_n1_n2, _R2::den / __gcd_d1_d2>::value,
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DProperBigFractionFormat.java96 BigInteger den = fraction.getDenominator(); in format() local
97 BigInteger whole = num.divide(den); in format()
98 num = num.remainder(den); in format()
109 getDenominatorFormat().format(den, toAppendTo, pos); in format()
200 final BigInteger den = parseNextBigInteger(source, pos); in parse() local
201 if (den == null) { in parse()
209 if (den.compareTo(BigInteger.ZERO) < 0) { in parse()
219 num = whole.multiply(den).add(num); in parse()
224 return new BigFraction(num, den); in parse()
DBigFraction.java115 public BigFraction(BigInteger num, BigInteger den) { in BigFraction() argument
119 if (den == null) { in BigFraction()
122 if (BigInteger.ZERO.equals(den)) { in BigFraction()
131 final BigInteger gcd = num.gcd(den); in BigFraction()
134 den = den.divide(gcd); in BigFraction()
138 if (BigInteger.ZERO.compareTo(den) > 0) { in BigFraction()
140 den = den.negate(); in BigFraction()
145 denominator = den; in BigFraction()
380 public BigFraction(final int num, final int den) { in BigFraction() argument
381 this(BigInteger.valueOf(num), BigInteger.valueOf(den)); in BigFraction()
[all …]
DProperFractionFormat.java97 int den = fraction.getDenominator(); in format() local
98 int whole = num / den; in format()
99 num = num % den; in format()
108 getDenominatorFormat().format(den, toAppendTo, in format()
200 Number den = getDenominatorFormat().parse(source, pos); in parse() local
201 if (den == null) { in parse()
209 if (den.intValue() < 0) { in parse()
217 int d = den.intValue(); in parse()
DFraction.java256 public Fraction(int num, int den) { in Fraction() argument
257 if (den == 0) { in Fraction()
259 LocalizedFormats.ZERO_DENOMINATOR_IN_FRACTION, num, den); in Fraction()
261 if (den < 0) { in Fraction()
262 if (num == Integer.MIN_VALUE || den == Integer.MIN_VALUE) { in Fraction()
264 LocalizedFormats.OVERFLOW_IN_FRACTION, num, den); in Fraction()
267 den = -den; in Fraction()
270 final int d = MathUtils.gcd(num, den); in Fraction()
273 den /= d; in Fraction()
277 if (den < 0) { in Fraction()
[all …]
/external/libopus/celt/
Drate.c160 opus_int32 den; in compute_pulse_cache() local
198 den=((opus_int32)(2*N-1)<<9)-459; in compute_pulse_cache()
199 qb = IMIN((num+(den>>1))/den, 57); in compute_pulse_cache()
213 den = ((opus_int32)ndof<<9)-(N==2?512:487); in compute_pulse_cache()
214 qb = IMIN((num+(den>>1))/den, (N==2?64:61)); in compute_pulse_cache()
230 den = (ndof-1)<<BITRES; in compute_pulse_cache()
231 qb = IMIN((num+(den>>1))/den, MAX_FINE_BITS); in compute_pulse_cache()
432 int N0, N, den; in interp_bits2pulses() local
448 den=(C*N+ ((C==2 && N>2 && !*dual_stereo && j<*intensity) ? 1 : 0)); in interp_bits2pulses()
450 NClogN = den*(m->logN[j] + logM); in interp_bits2pulses()
[all …]
Dcelt_lpc.c145 const opus_val16 *den, in celt_iir() argument
158 sum -= MULT16_16(den[j],mem[j]); in celt_iir()
177 rden[i] = den[ord-i-1]; in celt_iir()
195 sum[1] = MAC16_16(sum[1], y[i+ord ], den[0]); in celt_iir()
198 sum[2] = MAC16_16(sum[2], y[i+ord+1], den[0]); in celt_iir()
199 sum[2] = MAC16_16(sum[2], y[i+ord ], den[1]); in celt_iir()
203 sum[3] = MAC16_16(sum[3], y[i+ord+2], den[0]); in celt_iir()
204 sum[3] = MAC16_16(sum[3], y[i+ord+1], den[1]); in celt_iir()
205 sum[3] = MAC16_16(sum[3], y[i+ord ], den[2]); in celt_iir()
/external/valgrind/VEX/test/
Dx87fxam.c25 double den ( void ) { return 9.1e-220 / 1e100; } in den() function
41 d = den(); do_fxam(); printf("0x%4x: %f\n", i, d ); in main()
42 d = -den(); do_fxam(); printf("0x%4x: %f\n", i, d ); in main()
/external/pdfium/third_party/agg23/
Dagg_math.h54 FX_FLOAT den = FXSYS_Mul(bx - ax, dy - cy) - FXSYS_Mul(by - ay, dx - cx); in calc_intersection() local
55 if (FXSYS_fabs(den) < intersection_epsilon) { in calc_intersection()
58 *x = ax + FXSYS_MulDiv(bx - ax, num, den); in calc_intersection()
59 *y = ay + FXSYS_MulDiv(by - ay, num, den); in calc_intersection()
/external/libopus/silk/
DA2NLSF.c121 opus_int32 nom, den; in silk_A2NLSF() local
190 den = ylo - yhi; in silk_A2NLSF()
191 nom = silk_LSHIFT( ylo, 8 - BIN_DIV_STEPS_A2NLSF_FIX ) + silk_RSHIFT( den, 1 ); in silk_A2NLSF()
192 if( den != 0 ) { in silk_A2NLSF()
193 ffrac += silk_DIV32( nom, den ); in silk_A2NLSF()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddsp_helper.cc193 int32_t den = signal_points[0] + (signal_points[1] * -2) + signal_points[2]; in ParabolicFit() local
201 if (temp < -den * strt) { in ParabolicFit()
204 if ((flag == fs_mult) || (temp > -den * lmt)) { in ParabolicFit()
205 *peak_value = (den * kParabolaCoefficients[fit_index[fs_mult - flag]][1] in ParabolicFit()
215 } else if (temp > -den * (strt + stp)) { in ParabolicFit()
218 if ((flag == fs_mult) || (temp < -den * lmt)) { in ParabolicFit()
220 den * kParabolaCoefficients[fit_index[fs_mult+flag]][1]; in ParabolicFit()

12345678910