▲ | JackSlateur 2 months ago | ||||||||||||||||
Is this ok ?
| |||||||||||||||||
▲ | teddyh 2 months ago | parent | next [-] | ||||||||||||||||
I prefer
This way you avoid this problem:
And instead can get:
| |||||||||||||||||
▲ | sevensor 2 months ago | parent | prev | next [-] | ||||||||||||||||
Just cross your fingers and hope for the best if your data is at any point decoded by a json library that doesn’t support bigints? Python’s ability to handle them is beside the point of they get mangled into ieee754 doubles along the way. | |||||||||||||||||
▲ | jazzyjackson 2 months ago | parent | prev [-] | ||||||||||||||||
yes, python falls into the sane language category with arbitrary-precision arithmetic | |||||||||||||||||
|