Message274571
I see this as a documentation issue: the vast majority of math module functions are designed to operate on floats, and if given a non-float input, simply convert that input to a float as a convenience. If we start special-casing math module functions for int, Fraction, and Decimal inputs, the module is going to become much more complicated both in terms of implementation and in terms of cognitive load for the user. |
|
Date |
User |
Action |
Args |
2016-09-06 17:24:33 | mark.dickinson | set | recipients:
+ mark.dickinson, steven.daprano |
2016-09-06 17:24:33 | mark.dickinson | set | messageid: <1473182673.74.0.140845727903.issue27975@psf.upfronthosting.co.za> |
2016-09-06 17:24:33 | mark.dickinson | link | issue27975 messages |
2016-09-06 17:24:33 | mark.dickinson | create | |
|