[Python-Dev] Fixed-decimal types
Guido van Rossum
guido@CNRI.Reston.VA.US
Thu, 23 Dec 1999 09:56:33 -0500
What would be scale of the product of two fixed-decimal numbers?
E.g. is 2.00L * 2.00L equal to 4.0000L, or equal to 4.00L? There are
arguments for either. Same question for division (harder, I think).
I like the idea of using the dd.ddL notation for this.
I have no time to implement it but would not be unwilling to accept
patches. They would have to be accompanied with a wet signature, see
http://www.python.org/1.5/wetsign.html.
--Guido van Rossum (home page: http://www.python.org/~guido/)