Message313881
If float.is_integer() is useful in numerical code please give me few examples.
I don't take your argument about mpd_as_integer() in the Decimal class. Decimal has a lot of methods which makes sense for Decimal.
>>> len(set(dir(decimal.Decimal)) - set(dir(numbers.Rational)))
55
Do you suggests to add all of them into the numeric tower? |
|
Date |
User |
Action |
Args |
2018-03-15 12:32:35 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, rhettinger, facundobatista, mark.dickinson, christian.heimes, skrah, robert_smallshire, Austin Bingham |
2018-03-15 12:32:35 | serhiy.storchaka | set | messageid: <1521117155.56.0.467229070634.issue26680@psf.upfronthosting.co.za> |
2018-03-15 12:32:35 | serhiy.storchaka | link | issue26680 messages |
2018-03-15 12:32:35 | serhiy.storchaka | create | |
|