Commit Graph

27 Commits

Author SHA1 Message Date
Lafrite
cba821660a mod all ini_step in fraction 2015-02-28 23:08:41 +01:00
Lafrite
96dd6824ee name mistake in fraction 2015-02-27 18:05:07 +01:00
Lafrite
506045a670 Solve bug with context manager 2015-02-27 17:46:16 +01:00
Lafrite
769666892f Adapt Fraction for explain and new logic and verify doctest. Need to adapt unittest 2015-02-27 11:43:20 +01:00
Lafrite
02df267acf Adapt Fraction with Expression.tmp_render 2014-12-28 10:47:19 +01:00
Lafrite
30f9554ff2 modernize Fraction and add doctests 2014-12-27 16:04:30 +01:00
Lafrite
eabe3e9a8e add overload ^ and ** for fractions 2014-12-22 19:56:58 +01:00
lafrite
057cbaeab7 debug fraction hope it's last bug... 2014-11-14 17:00:26 +01:00
lafrite
895408109d mod fraction to work with operations and fix render in Expression 2014-11-14 16:20:02 +01:00
lafrite
2132c2ba59 New render seems to be ok some debuging still have to be done 2014-11-09 12:06:31 +01:00
lafrite
565a4d3632 adapt Expression with the split. tests achieved 2014-11-08 18:15:04 +01:00
Lafrite
eb1088d31f Solve bug with simplification of fractions 2014-09-02 11:44:04 +02:00
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