Message384786
I guess another approach might be to change the math module so that all its functions support franctions (and decimal, and other esoteric number types). But that would require having __log__ and many others as methods on the numeric types.
Personally I wish we had kept the math module for C doubles (Python floats) only -- I fear that it has become a mash-up of such functions with random other things people may remember from their high school math classes such as factorial(). This is just asking for misunderstandings like this. :-( |
|
Date |
User |
Action |
Args |
2021-01-10 23:47:32 | gvanrossum | set | recipients:
+ gvanrossum, rhettinger, Camion |
2021-01-10 23:47:32 | gvanrossum | set | messageid: <1610322452.23.0.954489215514.issue42886@roundup.psfhosted.org> |
2021-01-10 23:47:32 | gvanrossum | link | issue42886 messages |
2021-01-10 23:47:32 | gvanrossum | create | |
|