l_fp, time, calendar
Daniel Poirot
dtpoirot at gmail.com
Mon Mar 27 02:11:13 UTC 2017
Look for the 'bignum' package:
https://www.python.org/dev/peps/pep-0237/
On Sun, Mar 26, 2017 at 9:04 PM, Hal Murray <hmurray at megapathdsl.net> wrote:
>
> 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.
>
>
>
> _______________________________________________
> devel mailing list
> devel at ntpsec.org
> http://lists.ntpsec.org/mailman/listinfo/devel
More information about the devel
mailing list