l_fp, time, calendar
Hal Murray
hmurray at megapathdsl.net
Mon Mar 27 02:04:22 UTC 2017
gem at rellim.com said:
>> Isn't that as simple as convert a 64 bit integer to float and divide
>> by 1<<32 to get the right scale?
> Nope. Loss of precision. A double only has 52 bits of significant digits.
> A float only 23. To fully encode a 64 bit int you need a long double with
> (usually) 80 significant bits.
Thanks.
Is there something I can say in python to get more precision? How widely is
it supported?
--
These are my opinions. I hate spam.
More information about the devel
mailing list