Commit Graph

15 Commits

Author SHA1 Message Date
lafrite
b0ca85a029 forgot to mod rmul 2014-06-27 11:01:44 +02:00
lafrite
369c2cd77a improve add and mul fraction (special cases) 2014-06-27 10:31:10 +02:00
Lafrite
7568b42fcc improve __mul__ in fraction: simplification inside mul 2014-05-28 20:00:39 +02:00
Lafrite
5f16cf7b62 debug simplify: issue when sign changes and need to make simplifications 2014-05-28 19:00:23 +02:00
Lafrite
43973a0039 simplify > < etc in fraction 2014-05-28 18:52:46 +02:00
Lafrite
2e80eabb33 simplify __r*__ in fraction 2014-05-28 18:49:19 +02:00
Lafrite
900bad53a3 create convert2fraction 2014-05-28 18:39:08 +02:00
Lafrite
f444a58a2b Add abs method for Fraction 2014-02-28 08:49:03 +01:00
Lafrite
8631cfd349 add __all__ 2014-02-27 18:02:34 +01:00
Lafrite
2e417f3bef thanks to gcd beggug now tests on fractions work 2014-02-22 10:13:12 +01:00
Lafrite
ceab817c28 new methods for Fraction __radd__ __rsub__ __r*__ 2014-02-22 07:23:42 +01:00
Lafrite
6509e0164a Add __eq__ in fraction 2014-02-21 18:02:34 +01:00
Lafrite
8e86220b50 add float method in fraction 2014-02-21 11:08:55 +01:00
Lafrite
1abd903c9b Add case when numerator is 0 2014-02-21 11:05:25 +01:00
Lafrite
4834186bec Packaging files 2014-02-21 06:29:58 +01:00