Look for the 'bignum' package: https://www.python.org/dev/peps/pep-0237/
On Sun, Mar 26, 2017 at 9:04 PM, Hal Murray <hmur...@megapathdsl.net> wrote: > > g...@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@ntpsec.org > http://lists.ntpsec.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel