/external/v8/src/ |
bignum-dtoa.cc | 30 // Computes v / 10^estimated_power exactly, as a ratio of two bignums, numerator 35 Bignum* numerator, 39 // Multiplies numerator/denominator so that its values lies in the range 1-10. 41 // v = numerator'/denominator' * 10^(decimal_point-1) 42 // where numerator' and denominator' are the values of numerator and 46 Bignum* numerator, Bignum* denominator, 50 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator, 56 Bignum* numerator, Bignum* denominator, 58 // Generates 'count' digits of numerator/denominator 92 Bignum numerator; local [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
Rational.java | 22 * numerator and denominator of a Rational number. 30 * Create a Rational with a given numerator and denominator. 32 * @param numerator 35 public Rational(long numerator, long denominator) { 36 mNumerator = numerator; 49 * Gets the numerator of the rational.
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
Fraction.java | 89 /** The numerator. */ 90 private final int numerator; field in class:Fraction 188 this.numerator = (int) a0; 231 this.numerator = (int) p2; 234 this.numerator = (int) p1; 243 * @param num the numerator. 250 * Create a fraction given the numerator and denominator. The fraction is 252 * @param num the numerator. 269 // reduce numerator and denominator by greatest common denominator. 276 // move sign to numerator [all...] |
BigFraction.java | 88 /** The numerator. */ 89 private final BigInteger numerator; field in class:BigFraction 101 * the numerator. 108 * Create a {@link BigFraction} given the numerator and denominator as 111 * @param num the numerator, must not be {@code null}. 117 throw new NullPointerException(LocalizedFormats.NUMERATOR.getSourceString()); 126 numerator = BigInteger.ZERO; 130 // reduce numerator and denominator by greatest common denominator 137 // move sign to numerator 144 numerator = num [all...] |
AbstractFormat.java | 42 /** The format used for the numerator. */ 47 * for the numerator and denominator. 55 * both the numerator and denominator. 56 * @param format the custom format for both the numerator and denominator. 64 * the numerator and a custom number format for the denominator. 65 * @param numeratorFormat the custom format for the numerator. 107 * Access the numerator format. 108 * @return the numerator format. 127 * Modify the numerator format. 128 * @param format the new numerator format value [all...] |
/frameworks/base/core/java/android/util/ |
Rational.java | 26 * <p>Contains a pair of {@code int}s representing the numerator and denominator of a 37 * <p>Equivalent to constructing a new rational with both the numerator and denominator 45 * <p>Equivalent to constructing a new rational with a positive numerator and a denominator 53 * <p>Equivalent to constructing a new rational with a negative numerator and a denominator 61 * <p>Equivalent to constructing a new rational with a numerator equal to {@code 0} and 81 * <p>Create a {@code Rational} with a given numerator and denominator.</p> 83 * <p>The signs of the numerator and the denominator may be flipped such that the denominator 84 * is always positive. Both the numerator and denominator will be converted to their reduced 96 * @param numerator the numerator of the rationa [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
FDistribution.java | 34 * Modify the numerator degrees of freedom. 35 * @param degreesOfFreedom the new numerator degrees of freedom. 42 * Access the numerator degrees of freedom. 43 * @return the numerator degrees of freedom.
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
fractions.py | 33 (?P<num>\d*) # numerator (possibly empty) 49 be Rational. The numerator defaults to 0 and the denominator 68 def __new__(cls, numerator=0, denominator=None): 72 numerator/denominator pair, or a float. 102 if isinstance(numerator, Rational): 103 self._numerator = numerator.numerator 104 self._denominator = numerator.denominator 107 elif isinstance(numerator, float): 109 value = Fraction.from_float(numerator) 262 def numerator(a): member in class:Fraction [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
fractions.py | 33 (?P<num>\d*) # numerator (possibly empty) 49 be Rational. The numerator defaults to 0 and the denominator 68 def __new__(cls, numerator=0, denominator=None): 72 numerator/denominator pair, or a float. 102 if isinstance(numerator, Rational): 103 self._numerator = numerator.numerator 104 self._denominator = numerator.denominator 107 elif isinstance(numerator, float): 109 value = Fraction.from_float(numerator) 262 def numerator(a): member in class:Fraction [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
fractions.py | 33 (?P<num>\d*) # numerator (possibly empty) 49 be Rational. The numerator defaults to 0 and the denominator 68 def __new__(cls, numerator=0, denominator=None): 72 numerator/denominator pair, or a float. 102 if isinstance(numerator, Rational): 103 self._numerator = numerator.numerator 104 self._denominator = numerator.denominator 107 elif isinstance(numerator, float): 109 value = Fraction.from_float(numerator) 262 def numerator(a): member in class:Fraction [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
fractions.py | 33 (?P<num>\d*) # numerator (possibly empty) 49 be Rational. The numerator defaults to 0 and the denominator 68 def __new__(cls, numerator=0, denominator=None): 72 numerator/denominator pair, or a float. 102 if isinstance(numerator, Rational): 103 self._numerator = numerator.numerator 104 self._denominator = numerator.denominator 107 elif isinstance(numerator, float): 109 value = Fraction.from_float(numerator) 262 def numerator(a): member in class:Fraction [all...] |
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
TJScalingFactor.java | 38 throw new Exception("Numerator and denominator must be >= 1"); 44 * Returns numerator 46 * @return numerator 74 * <code>other</code> have the same numerator and denominator. 77 * <code>other</code> have the same numerator and denominator. 95 * Numerator
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
Rational.java | 21 * numerator and denominator of a Rational number. 29 * Create a Rational with a given numerator and denominator. 48 * Gets the numerator of the rational.
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
Rational.java | 21 * numerator and denominator of a Rational number. 29 * Create a Rational with a given numerator and denominator. 48 * Gets the numerator of the rational.
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
Rational.java | 21 * numerator and denominator of a Rational number. 29 * Create a Rational with a given numerator and denominator. 48 * Gets the numerator of the rational.
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Grego.java | 183 public static long floorDivide(long numerator, long denominator) { 185 // a numerator of Long.MIN_VALUE correctly 186 return (numerator >= 0) ? 187 numerator / denominator : 188 ((numerator + 1) / denominator) - 1; 191 private static long floorDivide(long numerator, long denominator, long[] remainder) { 192 if (numerator >= 0) { 193 remainder[0] = numerator % denominator; 194 return numerator / denominator; 196 long quotient = ((numerator + 1) / denominator) - 1 [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Grego.java | 181 public static long floorDivide(long numerator, long denominator) { 183 // a numerator of Long.MIN_VALUE correctly 184 return (numerator >= 0) ? 185 numerator / denominator : 186 ((numerator + 1) / denominator) - 1; 189 private static long floorDivide(long numerator, long denominator, long[] remainder) { 190 if (numerator >= 0) { 191 remainder[0] = numerator % denominator; 192 return numerator / denominator; 194 long quotient = ((numerator + 1) / denominator) - 1 [all...] |
/external/compiler-rt/lib/builtins/arm/ |
aeabi_idivmod.S | 12 // struct { int quot, int rem} __aeabi_idivmod(int numerator, int denominator) { 14 // quot = __divmodsi4(numerator, denominator, &rem);
|
aeabi_ldivmod.S | 13 // __aeabi_ldivmod(int64_t numerator, int64_t denominator) { 15 // quot = __divmoddi4(numerator, denominator, &rem);
|
aeabi_uidivmod.S | 13 // __aeabi_uidivmod(unsigned numerator, unsigned denominator) { 15 // quot = __udivmodsi4(numerator, denominator, &rem);
|
aeabi_uldivmod.S | 13 // __aeabi_uldivmod(uint64_t numerator, uint64_t denominator) { 15 // quot = __udivmoddi4(numerator, denominator, &rem);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_abstract_numbers.py | 16 self.assertEqual(7, int(7).numerator) 26 self.assertEqual(7, long(7).numerator)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_abstract_numbers.py | 16 self.assertEqual(7, int(7).numerator) 26 self.assertEqual(7, long(7).numerator)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_abstract_numbers.py | 16 self.assertEqual(7, int(7).numerator) 26 self.assertEqual(7, long(7).numerator)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_abstract_numbers.py | 16 self.assertEqual(7, int(7).numerator) 26 self.assertEqual(7, long(7).numerator)
|