/third_party/node/deps/v8/src/base/numbers/ |
D | bignum-dtoa.cc | 32 Bignum* numerator, Bignum* denominator, 40 int* decimal_point, Bignum* numerator, 45 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator, 51 Bignum* numerator, Bignum* denominator, 58 Bignum* numerator, Bignum* denominator, 86 Bignum numerator; in BignumDtoa() local 96 InitialScaledStartValues(v, estimated_power, need_boundary_deltas, &numerator, in BignumDtoa() 99 FixupMultiply10(estimated_power, is_even, decimal_point, &numerator, in BignumDtoa() 105 GenerateShortestDigits(&numerator, &denominator, &delta_minus, in BignumDtoa() 109 BignumToFixed(requested_digits, decimal_point, &numerator, &denominator, in BignumDtoa() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | double-conversion-bignum-dtoa.cpp | 71 Bignum* numerator, 82 Bignum* numerator, Bignum* denominator, 86 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator, 92 Bignum* numerator, Bignum* denominator, 99 Bignum* numerator, Bignum* denominator, 143 Bignum numerator; in BignumDtoa() local 154 &numerator, &denominator, in BignumDtoa() 158 &numerator, &denominator, in BignumDtoa() 165 GenerateShortestDigits(&numerator, &denominator, in BignumDtoa() 171 &numerator, &denominator, in BignumDtoa() [all …]
|
D | gregoimp.cpp | 25 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) { in floorDivide() argument 26 return (numerator >= 0) ? in floorDivide() 27 numerator / denominator : ((numerator + 1) / denominator) - 1; in floorDivide() 30 int64_t ClockMath::floorDivide(int64_t numerator, int64_t denominator) { in floorDivide() argument 31 return (numerator >= 0) ? in floorDivide() 32 numerator / denominator : ((numerator + 1) / denominator) - 1; in floorDivide() 35 int32_t ClockMath::floorDivide(double numerator, int32_t denominator, in floorDivide() argument 39 double quotient = uprv_floor(numerator / denominator); in floorDivide() 44 *remainder = (int32_t) (uprv_floor(numerator) - (quotient * denominator)); in floorDivide()
|
D | gregoimp.h | 41 static int32_t floorDivide(int32_t numerator, int32_t denominator); 52 static int64_t floorDivide(int64_t numerator, int64_t denominator); 63 static inline double floorDivide(double numerator, double denominator); 80 static int32_t floorDivide(double numerator, int32_t denominator, 267 inline double ClockMath::floorDivide(double numerator, double denominator) { in floorDivide() argument 268 return uprv_floor(numerator / denominator); in floorDivide()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | double-conversion-bignum-dtoa.cpp | 71 Bignum* numerator, 82 Bignum* numerator, Bignum* denominator, 86 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator, 92 Bignum* numerator, Bignum* denominator, 99 Bignum* numerator, Bignum* denominator, 143 Bignum numerator; in BignumDtoa() local 154 &numerator, &denominator, in BignumDtoa() 158 &numerator, &denominator, in BignumDtoa() 165 GenerateShortestDigits(&numerator, &denominator, in BignumDtoa() 171 &numerator, &denominator, in BignumDtoa() [all …]
|
D | gregoimp.cpp | 25 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) { in floorDivide() argument 26 return (numerator >= 0) ? in floorDivide() 27 numerator / denominator : ((numerator + 1) / denominator) - 1; in floorDivide() 30 int64_t ClockMath::floorDivide(int64_t numerator, int64_t denominator) { in floorDivide() argument 31 return (numerator >= 0) ? in floorDivide() 32 numerator / denominator : ((numerator + 1) / denominator) - 1; in floorDivide() 35 int32_t ClockMath::floorDivide(double numerator, int32_t denominator, in floorDivide() argument 39 double quotient = uprv_floor(numerator / denominator); in floorDivide() 45 *remainder = (int32_t) (uprv_floor(numerator) - (quotient * denominator)); in floorDivide()
|
D | gregoimp.h | 41 static int32_t floorDivide(int32_t numerator, int32_t denominator); 52 static int64_t floorDivide(int64_t numerator, int64_t denominator); 63 static inline double floorDivide(double numerator, double denominator); 80 static int32_t floorDivide(double numerator, int32_t denominator, 267 inline double ClockMath::floorDivide(double numerator, double denominator) { in floorDivide() argument 268 return uprv_floor(numerator / denominator); in floorDivide()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | double-conversion-bignum-dtoa.cpp | 71 Bignum* numerator, 82 Bignum* numerator, Bignum* denominator, 86 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator, 92 Bignum* numerator, Bignum* denominator, 99 Bignum* numerator, Bignum* denominator, 143 Bignum numerator; in BignumDtoa() local 154 &numerator, &denominator, in BignumDtoa() 158 &numerator, &denominator, in BignumDtoa() 165 GenerateShortestDigits(&numerator, &denominator, in BignumDtoa() 171 &numerator, &denominator, in BignumDtoa() [all …]
|
D | gregoimp.cpp | 25 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) { in floorDivide() argument 26 return (numerator >= 0) ? in floorDivide() 27 numerator / denominator : ((numerator + 1) / denominator) - 1; in floorDivide() 30 int64_t ClockMath::floorDivide(int64_t numerator, int64_t denominator) { in floorDivide() argument 31 return (numerator >= 0) ? in floorDivide() 32 numerator / denominator : ((numerator + 1) / denominator) - 1; in floorDivide() 35 int32_t ClockMath::floorDivide(double numerator, int32_t denominator, in floorDivide() argument 38 quotient = uprv_floor(numerator / denominator); in floorDivide() 39 remainder = (int32_t) (numerator - (quotient * denominator)); in floorDivide()
|
D | gregoimp.h | 41 static int32_t floorDivide(int32_t numerator, int32_t denominator); 52 static int64_t floorDivide(int64_t numerator, int64_t denominator); 63 static inline double floorDivide(double numerator, double denominator); 80 static int32_t floorDivide(double numerator, int32_t denominator, 267 inline double ClockMath::floorDivide(double numerator, double denominator) { in floorDivide() argument 268 return uprv_floor(numerator / denominator); in floorDivide()
|
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
D | bignum-dtoa.cc | 57 Bignum* numerator, 68 Bignum* numerator, Bignum* denominator, 72 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator, 78 Bignum* numerator, Bignum* denominator, 85 Bignum* numerator, Bignum* denominator, 129 Bignum numerator; in BignumDtoa() local 140 &numerator, &denominator, in BignumDtoa() 144 &numerator, &denominator, in BignumDtoa() 151 GenerateShortestDigits(&numerator, &denominator, in BignumDtoa() 157 &numerator, &denominator, in BignumDtoa() [all …]
|
/third_party/python/Lib/ |
D | fractions.py | 62 def __new__(cls, numerator=0, denominator=None, *, _normalize=True): argument 96 if type(numerator) is int: 97 self._numerator = numerator 101 elif isinstance(numerator, numbers.Rational): 102 self._numerator = numerator.numerator 103 self._denominator = numerator.denominator 106 elif isinstance(numerator, (float, Decimal)): 108 self._numerator, self._denominator = numerator.as_integer_ratio() 111 elif isinstance(numerator, str): 113 m = _RATIONAL_FORMAT.match(numerator) [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | Grego.java | 185 public static long floorDivide(long numerator, long denominator) { in floorDivide() argument 188 return (numerator >= 0) ? in floorDivide() 189 numerator / denominator : in floorDivide() 190 ((numerator + 1) / denominator) - 1; in floorDivide() 193 private static long floorDivide(long numerator, long denominator, long[] remainder) { in floorDivide() argument 194 if (numerator >= 0) { in floorDivide() 195 remainder[0] = numerator % denominator; in floorDivide() 196 return numerator / denominator; in floorDivide() 198 long quotient = ((numerator + 1) / denominator) - 1; in floorDivide() 199 remainder[0] = numerator - (quotient * denominator); in floorDivide()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Grego.java | 183 public static long floorDivide(long numerator, long denominator) { in floorDivide() argument 186 return (numerator >= 0) ? in floorDivide() 187 numerator / denominator : in floorDivide() 188 ((numerator + 1) / denominator) - 1; in floorDivide() 191 private static long floorDivide(long numerator, long denominator, long[] remainder) { in floorDivide() argument 192 if (numerator >= 0) { in floorDivide() 193 remainder[0] = numerator % denominator; in floorDivide() 194 return numerator / denominator; in floorDivide() 196 long quotient = ((numerator + 1) / denominator) - 1; in floorDivide() 197 remainder[0] = numerator - (quotient * denominator); in floorDivide()
|
/third_party/cmsis/CMSIS/DSP/Source/FastMathFunctions/ |
D | arm_divide_q15.c | 60 arm_status arm_divide_q15(q15_t numerator, in arm_divide_q15() argument 71 sign = (numerator>>15) ^ (denominator>>15); in arm_divide_q15() 86 arm_abs_q15(&numerator,&numerator,1); in arm_divide_q15() 89 temp = ((q31_t)numerator << 15) / ((q31_t)denominator); in arm_divide_q15()
|
D | arm_divide_q31.c | 55 arm_status arm_divide_q31(q31_t numerator, in arm_divide_q31() argument 66 sign = (numerator>>31) ^ (denominator>>31); in arm_divide_q31() 81 arm_abs_q31(&numerator,&numerator,1); in arm_divide_q31() 84 temp = ((q63_t)numerator << 31) / ((q63_t)denominator); in arm_divide_q31()
|
/third_party/python/Doc/library/ |
D | fractions.rst | 20 .. class:: Fraction(numerator=0, denominator=1) 26 The first version requires that *numerator* and *denominator* are instances 28 with value ``numerator/denominator``. If *denominator* is :const:`0`, it 41 [sign] numerator ['/' denominator] 44 ``numerator`` and ``denominator`` (if present) are strings of 88 The :func:`math.gcd` function is now used to normalize the *numerator* 90 Previously, the GCD type depended on *numerator* and *denominator*. 92 .. attribute:: numerator
|
D | numbers.rst | 62 :attr:`~Rational.numerator` and :attr:`~Rational.denominator` properties, which 66 .. attribute:: numerator 78 defaults for :func:`float`, :attr:`~Rational.numerator`, and 95 return hash(self.numerator) 102 return hash((self.numerator, self.denominator)) 218 return Fraction(a.numerator * b.denominator + 219 b.numerator * a.denominator,
|
/third_party/libexif/libexif/ |
D | exif-entry.c | 304 r.numerator = (ExifLong) sr.numerator; in exif_entry_fix() 337 sr.numerator = (ExifLong) r.numerator; in exif_entry_fix() 555 (double) v_rat.numerator / in exif_entry_format_value() 559 (unsigned long) v_rat.numerator, in exif_entry_format_value() 578 (double) v_srat.numerator / in exif_entry_format_value() 582 (long) v_srat.numerator, in exif_entry_format_value() 1023 d = (double) v_rat.numerator / (double) v_rat.denominator; in exif_entry_get_value() 1031 if (!v_rat.denominator || (0x80000000 == v_rat.numerator)) { in exif_entry_get_value() 1035 d = (double) v_rat.numerator / (double) v_rat.denominator; in exif_entry_get_value() 1071 (d * (double) v_rat.numerator / in exif_entry_get_value() [all …]
|
D | exif-utils.c | 181 r.numerator = buf ? exif_get_slong (buf, order) : 0; in exif_get_srational() 192 r.numerator = buf ? exif_get_long (buf, order) : 0; in exif_get_rational() 203 exif_set_long (buf, order, value.numerator); in exif_set_rational() 212 exif_set_slong (buf, order, value.numerator); in exif_set_srational()
|
/third_party/skia/third_party/externals/piex/src/tiff_directory/ |
D | tiff_directory.cc | 131 my_value[c].numerator = Get16u(value_ptr + c * 2, is_big_endian, &err); in Get() 136 my_value[c].numerator = Get32u(value_ptr + c * 4, is_big_endian, &err); in Get() 141 my_value[c].numerator = Get32u(value_ptr + c * 8, is_big_endian, &err); in Get() 186 my_value[c].numerator = Get16s(value_ptr + c * 2, is_big_endian, &err); in Get() 191 my_value[c].numerator = Get32s(value_ptr + c * 4, is_big_endian, &err); in Get() 196 my_value[c].numerator = Get32s(value_ptr + c * 8, is_big_endian, &err); in Get()
|
/third_party/mesa3d/src/intel/perf/ |
D | intel_perf_private.h | 41 uint32_t numerator, uint32_t denominator, in intel_perf_query_add_stat_reg() argument 55 counter->pipeline_stat.numerator = numerator; in intel_perf_query_add_stat_reg()
|
/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/ |
D | IntegerRatio.h | 29 IntegerRatio(int32_t numerator, int32_t denominator) in IntegerRatio() argument 30 : mNumerator(numerator), mDenominator(denominator) {} in IntegerRatio()
|
/third_party/python/Lib/test/ |
D | test_fractions.py | 86 return (r.numerator, r.denominator) 339 def numerator(self): member in FractionTest.testBoolGuarateesBoolReturn.CustomValue 351 numerator = CustomValue(1) 352 r = F(numerator) 354 self.assertIs(r.numerator, numerator) 357 numerator = CustomValue(0) 358 r = F(numerator) 391 self.assertEqual(p.numerator, 1) 395 self.assertEqual(p.numerator, -2) 399 self.assertEqual(p.numerator, 4) [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/ |
D | WindowSurfaceGLX.cpp | 304 egl::Error WindowSurfaceGLX::getMscRate(EGLint *numerator, EGLint *denominator) in getMscRate() argument 306 if (!mGLX.getMscRateOML(mGLXWindow, reinterpret_cast<int32_t *>(numerator), in getMscRate() 314 if (*numerator < *denominator * 2) in getMscRate() 316 *numerator = 30; in getMscRate()
|