/external/llvm/test/CodeGen/AMDGPU/ |
D | udivrem24.ll | 18 %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.i23.0 = shl i32 %den, 9 60 %den.i23 = lshr i32 %den.i23.0, 9 61 %result = udiv i32 %num.i23, %den.i23 73 %den = load i32, i32 addrspace(1) * %den_ptr, align 4 75 %den.i24.0 = shl i32 %den, 8 [all …]
|
D | sdivrem24.ll | 18 %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 …]
|
D | fdiv.f64.ll | 35 %den = load volatile 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 …]
|
D | srem.ll | 8 %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 …]
|
D | sdiv.ll | 19 %den = load i32, i32 addrspace(1) * %den_ptr 20 %result = sdiv i32 %num, %den 56 %den = load <2 x i32>, <2 x i32> addrspace(1) * %den_ptr 57 %result = sdiv <2 x i32> %num, %den 72 %den = load <4 x i32>, <4 x i32> addrspace(1) * %den_ptr 73 %result = sdiv <4 x i32> %num, %den 92 %den = load i8, i8 addrspace(1) * %den_ptr 93 %result = sdiv i8 %num, %den 106 %den = load i23, i23 addrspace(1) * %den_ptr 107 %result = sdiv i23 %num, %den [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/ratio/ |
D | typedefs.pass.cpp | 17 static_assert(std::atto::num == 1 && std::atto::den == 1000000000000000000ULL, ""); in main() 18 static_assert(std::femto::num == 1 && std::femto::den == 1000000000000000ULL, ""); in main() 19 static_assert(std::pico::num == 1 && std::pico::den == 1000000000000ULL, ""); in main() 20 static_assert(std::nano::num == 1 && std::nano::den == 1000000000ULL, ""); in main() 21 static_assert(std::micro::num == 1 && std::micro::den == 1000000ULL, ""); in main() 22 static_assert(std::milli::num == 1 && std::milli::den == 1000ULL, ""); in main() 23 static_assert(std::centi::num == 1 && std::centi::den == 100ULL, ""); in main() 24 static_assert(std::deci::num == 1 && std::deci::den == 10ULL, ""); in main() 25 static_assert(std::deca::num == 10ULL && std::deca::den == 1, ""); in main() 26 static_assert(std::hecto::num == 100ULL && std::hecto::den == 1, ""); in main() [all …]
|
/external/libcxx/test/std/utilities/ratio/ |
D | typedefs.pass.cpp | 16 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/common_audio/signal_processing/ |
D | division_operations.c | 27 uint32_t WebRtcSpl_DivU32U16(uint32_t num, uint16_t den) in WebRtcSpl_DivU32U16() argument 30 if (den != 0) in WebRtcSpl_DivU32U16() 32 return (uint32_t)(num / den); in WebRtcSpl_DivU32U16() 39 int32_t WebRtcSpl_DivW32W16(int32_t num, int16_t den) in WebRtcSpl_DivW32W16() argument 42 if (den != 0) in WebRtcSpl_DivW32W16() 44 return (int32_t)(num / den); in WebRtcSpl_DivW32W16() 51 int16_t WebRtcSpl_DivW32W16ResW16(int32_t num, int16_t den) in WebRtcSpl_DivW32W16ResW16() argument 54 if (den != 0) in WebRtcSpl_DivW32W16ResW16() 56 return (int16_t)(num / den); in WebRtcSpl_DivW32W16ResW16() 63 int32_t WebRtcSpl_DivResultInQ31(int32_t num, int32_t den) in WebRtcSpl_DivResultInQ31() argument [all …]
|
/external/libvpx/vpx_dsp/ |
D | prob.h | 48 static INLINE vpx_prob get_prob(unsigned int num, unsigned int den) { in get_prob() argument 49 assert(den != 0); in get_prob() 51 const int p = (int)(((uint64_t)num * 256 + (den >> 1)) / den); in get_prob() 59 const unsigned int den = n0 + n1; in get_binary_prob() local 60 if (den == 0) return 128u; in get_binary_prob() 61 return get_prob(n0, den); in get_binary_prob() 86 const unsigned int den = ct[0] + ct[1]; in mode_mv_merge_probs() local 87 if (den == 0) { in mode_mv_merge_probs() 90 const unsigned int count = VPXMIN(den, MODE_MV_COUNT_SAT); in mode_mv_merge_probs() 92 const vpx_prob prob = get_prob(ct[0], den); in mode_mv_merge_probs()
|
/external/libcxx/test/std/utilities/ratio/ratio.arithmetic/ |
D | ratio_subtract.pass.cpp | 20 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()
|
D | ratio_add.pass.cpp | 20 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()
|
D | ratio_multiply.pass.cpp | 20 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()
|
D | ratio_divide.pass.cpp | 20 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/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/ratio/ratio.arithmetic/ |
D | ratio_add.pass.cpp | 21 static_assert(R::num == 2 && R::den == 1, ""); in main() 27 static_assert(R::num == 3 && R::den == 2, ""); in main() 33 static_assert(R::num == 1 && R::den == 2, ""); in main() 39 static_assert(R::num == 1 && R::den == 2, ""); in main() 45 static_assert(R::num == -1 && R::den == 2, ""); in main() 51 static_assert(R::num == -1 && R::den == 2, ""); in main() 57 static_assert(R::num == 127970191639601LL && R::den == 5177331081415LL, ""); in main() 63 static_assert(R::num == 0 && R::den == 1, ""); in main() 69 static_assert(R::num == 1 && R::den == 1, ""); in main() 75 static_assert(R::num == 1 && R::den == 1, ""); in main()
|
D | ratio_subtract.pass.cpp | 21 static_assert(R::num == 0 && R::den == 1, ""); in main() 27 static_assert(R::num == -1 && R::den == 2, ""); in main() 33 static_assert(R::num == -3 && R::den == 2, ""); in main() 39 static_assert(R::num == -3 && R::den == 2, ""); in main() 45 static_assert(R::num == 3 && R::den == 2, ""); in main() 51 static_assert(R::num == 3 && R::den == 2, ""); in main() 57 static_assert(R::num == -126708206685271LL && R::den == 5177331081415LL, ""); in main() 63 static_assert(R::num == 0 && R::den == 1, ""); in main() 69 static_assert(R::num == 1 && R::den == 1, ""); in main() 75 static_assert(R::num == -1 && R::den == 1, ""); in main()
|
D | ratio_divide.pass.cpp | 21 static_assert(R::num == 1 && R::den == 1, ""); in main() 27 static_assert(R::num == 1 && R::den == 2, ""); in main() 33 static_assert(R::num == -1 && R::den == 2, ""); in main() 39 static_assert(R::num == -1 && R::den == 2, ""); in main() 45 static_assert(R::num == -1 && R::den == 2, ""); in main() 51 static_assert(R::num == -1 && R::den == 2, ""); in main() 57 static_assert(R::num == 630992477165LL && R::den == 127339199162436LL, ""); in main()
|
D | ratio_multiply.pass.cpp | 21 static_assert(R::num == 1 && R::den == 1, ""); in main() 27 static_assert(R::num == 1 && R::den == 2, ""); in main() 33 static_assert(R::num == -1 && R::den == 2, ""); in main() 39 static_assert(R::num == -1 && R::den == 2, ""); in main() 45 static_assert(R::num == -1 && R::den == 2, ""); in main() 51 static_assert(R::num == -1 && R::den == 2, ""); in main() 57 static_assert(R::num == 15519594064236LL && R::den == 5177331081415LL, ""); in main()
|
/external/python/cpython3/Modules/ |
D | _statisticsmodule.c | 33 double q, num, den, r, x; in _statistics__normal_dist_inv_cdf_impl() local 50 den = (((((((5.2264952788528545610e+3 * r + in _statistics__normal_dist_inv_cdf_impl() 58 if (den == 0.0) { in _statistics__normal_dist_inv_cdf_impl() 61 x = num / den; in _statistics__normal_dist_inv_cdf_impl() 80 den = (((((((1.05075007164441684324e-9 * r + in _statistics__normal_dist_inv_cdf_impl() 99 den = (((((((2.04426310338993978564e-15 * r + in _statistics__normal_dist_inv_cdf_impl() 108 if (den == 0.0) { in _statistics__normal_dist_inv_cdf_impl() 111 x = num / den; in _statistics__normal_dist_inv_cdf_impl()
|
/external/cronet/buildtools/third_party/libc++/trunk/include/ |
D | ratio | 24 static constexpr intmax_t den; 25 typedef ratio<num, den> type; 261 static _LIBCPP_CONSTEXPR const intmax_t den = __da / __gcd; 263 typedef ratio<num, den> type; 270 _LIBCPP_CONSTEXPR const intmax_t ratio<_Num, _Den>::den; 296 static const intmax_t __gcd_n1_d2 = __static_gcd<_R1::num, _R2::den>::value; 297 static const intmax_t __gcd_d1_n2 = __static_gcd<_R1::den, _R2::num>::value; 302 __ll_mul<_R2::den / __gcd_n1_d2, _R1::den / __gcd_d1_n2>::value 324 static const intmax_t __gcd_d1_d2 = __static_gcd<_R1::den, _R2::den>::value; 328 __ll_mul<_R1::num / __gcd_n1_n2, _R2::den / __gcd_d1_d2>::value, [all …]
|
/external/libcxx/include/ |
D | ratio | 25 static constexpr intmax_t den; 26 typedef ratio<num, den> type; 260 static _LIBCPP_CONSTEXPR const intmax_t den = __da / __gcd; 262 typedef ratio<num, den> type; 269 _LIBCPP_CONSTEXPR const intmax_t ratio<_Num, _Den>::den; 295 static const intmax_t __gcd_n1_d2 = __static_gcd<_R1::num, _R2::den>::value; 296 static const intmax_t __gcd_d1_n2 = __static_gcd<_R1::den, _R2::num>::value; 301 __ll_mul<_R2::den / __gcd_n1_d2, _R1::den / __gcd_d1_n2>::value 323 static const intmax_t __gcd_d1_d2 = __static_gcd<_R1::den, _R2::den>::value; 327 __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/ |
D | BigFraction.java | 115 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 …]
|
D | ProperBigFractionFormat.java | 96 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()
|
D | Fraction.java | 256 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 …]
|
D | ProperFractionFormat.java | 97 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()
|
/external/speex/libspeexdsp/ |
D | testecho.c | 22 SpeexPreprocessState *den; in main() local 35 den = speex_preprocess_state_init(NN, sampleRate); in main() 37 speex_preprocess_ctl(den, SPEEX_PREPROCESS_SET_ECHO_STATE, st); in main() 44 speex_preprocess_run(den, e_buf); in main() 48 speex_preprocess_state_destroy(den); in main()
|