Searched refs:Fraction (Results 1 - 25 of 27) sorted by relevance

12

/prebuilts/gdb/darwin-x86/lib/python2.7/
H A Dfractions.py13 __all__ = ['Fraction', 'gcd']
44 class Fraction(Rational): class in inherits:Rational
47 In the two-argument form of the constructor, Fraction(8, 6) will
50 defaults to 1 so that Fraction(3) == 3 and Fraction() == 0.
69 """Constructs a Fraction.
77 >>> Fraction(10, -8)
78 Fraction(-5, 4)
79 >>> Fraction(Fraction(
[all...]
/prebuilts/gdb/linux-x86/lib/python2.7/
H A Dfractions.py13 __all__ = ['Fraction', 'gcd']
44 class Fraction(Rational): class in inherits:Rational
47 In the two-argument form of the constructor, Fraction(8, 6) will
50 defaults to 1 so that Fraction(3) == 3 and Fraction() == 0.
69 """Constructs a Fraction.
77 >>> Fraction(10, -8)
78 Fraction(-5, 4)
79 >>> Fraction(Fraction(
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Dfractions.py13 __all__ = ['Fraction', 'gcd']
44 class Fraction(Rational): class in inherits:Rational
47 In the two-argument form of the constructor, Fraction(8, 6) will
50 defaults to 1 so that Fraction(3) == 3 and Fraction() == 0.
69 """Constructs a Fraction.
77 >>> Fraction(10, -8)
78 Fraction(-5, 4)
79 >>> Fraction(Fraction(
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Dfractions.py13 __all__ = ['Fraction', 'gcd']
44 class Fraction(Rational): class in inherits:Rational
47 In the two-argument form of the constructor, Fraction(8, 6) will
50 defaults to 1 so that Fraction(3) == 3 and Fraction() == 0.
69 """Constructs a Fraction.
77 >>> Fraction(10, -8)
78 Fraction(-5, 4)
79 >>> Fraction(Fraction(
[all...]
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_fractions.py13 F = fractions.Fraction
57 """Test comparison of Fraction with a naive rational implementation."""
65 if isinstance(other, fractions.Fraction):
92 class DummyFraction(fractions.Fraction):
93 """Dummy Fraction subclass for copy and deepcopy testing."""
147 self.assertRaisesMessage(ZeroDivisionError, "Fraction(12, 0)",
197 ZeroDivisionError, "Fraction(3, 0)",
200 ValueError, "Invalid literal for Fraction: '3/'",
203 ValueError, "Invalid literal for Fraction: '/2'",
206 ValueError, "Invalid literal for Fraction
[all...]
H A Dtest_itertools.py6 from fractions import Fraction namespace
376 self.assertEqual(take(3, count(Fraction(2,3), Fraction(1,7))),
377 [Fraction(2,3), Fraction(17,21), Fraction(20,21)])
H A Dtest_float.py188 R = fractions.Fraction
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_fractions.py13 F = fractions.Fraction
57 """Test comparison of Fraction with a naive rational implementation."""
65 if isinstance(other, fractions.Fraction):
92 class DummyFraction(fractions.Fraction):
93 """Dummy Fraction subclass for copy and deepcopy testing."""
147 self.assertRaisesMessage(ZeroDivisionError, "Fraction(12, 0)",
197 ZeroDivisionError, "Fraction(3, 0)",
200 ValueError, "Invalid literal for Fraction: '3/'",
203 ValueError, "Invalid literal for Fraction: '/2'",
206 ValueError, "Invalid literal for Fraction
[all...]
H A Dtest_itertools.py6 from fractions import Fraction namespace
376 self.assertEqual(take(3, count(Fraction(2,3), Fraction(1,7))),
377 [Fraction(2,3), Fraction(17,21), Fraction(20,21)])
H A Dtest_float.py188 R = fractions.Fraction
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_fractions.py13 F = fractions.Fraction
57 """Test comparison of Fraction with a naive rational implementation."""
65 if isinstance(other, fractions.Fraction):
92 class DummyFraction(fractions.Fraction):
93 """Dummy Fraction subclass for copy and deepcopy testing."""
147 self.assertRaisesMessage(ZeroDivisionError, "Fraction(12, 0)",
197 ZeroDivisionError, "Fraction(3, 0)",
200 ValueError, "Invalid literal for Fraction: '3/'",
203 ValueError, "Invalid literal for Fraction: '/2'",
206 ValueError, "Invalid literal for Fraction
[all...]
H A Dtest_itertools.py6 from fractions import Fraction namespace
376 self.assertEqual(take(3, count(Fraction(2,3), Fraction(1,7))),
377 [Fraction(2,3), Fraction(17,21), Fraction(20,21)])
H A Dtest_float.py188 R = fractions.Fraction
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_fractions.py13 F = fractions.Fraction
57 """Test comparison of Fraction with a naive rational implementation."""
65 if isinstance(other, fractions.Fraction):
92 class DummyFraction(fractions.Fraction):
93 """Dummy Fraction subclass for copy and deepcopy testing."""
147 self.assertRaisesMessage(ZeroDivisionError, "Fraction(12, 0)",
197 ZeroDivisionError, "Fraction(3, 0)",
200 ValueError, "Invalid literal for Fraction: '3/'",
203 ValueError, "Invalid literal for Fraction: '/2'",
206 ValueError, "Invalid literal for Fraction
[all...]
H A Dtest_itertools.py6 from fractions import Fraction namespace
376 self.assertEqual(take(3, count(Fraction(2,3), Fraction(1,7))),
377 [Fraction(2,3), Fraction(17,21), Fraction(20,21)])
H A Dtest_float.py188 R = fractions.Fraction
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/mingw/include/
H A Ddxva2api.h258 USHORT Fraction; member in struct:_DXVA2_Fixed32::__anon11602::__anon11603
430 return (float)f32.Value + (float)f32.Fraction / (1 << 16);
436 f32.Fraction = ((ULONG) (f * (1 << 16))) & 0xFFFF;
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
H A Ddxva2api.h258 USHORT Fraction; member in struct:_DXVA2_Fixed32::__anon14525::__anon14526
430 return (float)f32.Value + (float)f32.Fraction / (1 << 16);
436 f32.Fraction = ((ULONG) (f * (1 << 16))) & 0xFFFF;
/prebuilts/tools/common/m2/repository/commons-lang/commons-lang/2.4/
H A Dcommons-lang-2.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang/ ...
/prebuilts/tools/common/m2/repository/commons-lang/commons-lang/2.6/
H A Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang/ ...
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.2.1/
H A Dcommons-lang3-3.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang3/ ...
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.3/
H A Dcommons-lang3-3.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang3/ ...
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.3.2/
H A Dcommons-lang3-3.3.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang3/ ...
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.4/
H A Dcommons-lang3-3.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang3/ ...
/prebuilts/tools/common/m2/repository/joda-time/joda-time/2.8.1/
H A Djoda-time-2.8.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/joda/ org/joda/time/ org/joda/time/base/ ...

Completed in 2939 milliseconds

12