[Python-ideas] numerical type combining integer and float/decimal properties [Was: Re: Python Numbers as Human Concept Decimal System]
Ethan Furman
ethan at stoneleaf.us
Mon Mar 10 21:57:09 CET 2014
On 03/10/2014 11:09 AM, Guido van Rossum wrote:
>
> I'm sorry, I still don't understand your proposal.
I think he's saying make a new type similarly to complex, only instead of two floats to make a complex number, have a
(long) int and a decimal float to make this new type. The long int portion would have infinite precision, the float
portion would have, say, 16 digits (or whatever).
--
~Ethan~
More information about the Python-ideas
mailing list