How about adding rational fraction to Python?

Lie Lie.1296 at gmail.com
Tue Feb 26 07:09:55 EST 2008


On Feb 25, 1:58 pm, Carl Banks <pavlovevide... at gmail.com> wrote:
> What part of "repeated additions and divisions" don't you understand?

What part of additions and subtractions don't you understand? I'm
invalidating half of your statement, the division part, but validating
another half, the additions part and adding some statements on my own.

>
> Try doing numerical integration sometime with rationals, and tell me
> how that works out.  Try calculating compound interest and storing
> results for 1000 customers every month, and compare the size of your
> database before and after.
>

Since when have I said that fractional is appropriate for calculating
compound interests. Fractionals works best in scenarios where the
calculations are mostly addition and subtraction, not percentage
division and multiplications like in compounds.



More information about the Python-list mailing list