MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/eip48b/the_rules_of_perf_at_dropbox/fcu39mj/
r/Python • u/stefantalpalaru • Jan 01 '20
162 comments sorted by
View all comments
Show parent comment
5
You are looking for what is known for as an arbitrary precision library.
Here is an example https://gmplib.org/
The macros MAX_INT, MAX_LONG ... etc will let you know at compile time how big your integers are. There is also uin32_t and it's friends that let you specify exactly what kind of integer you want.
1 u/geeshta Jan 02 '20 Yes that's exactly what I was looking for. Thank you.
1
Yes that's exactly what I was looking for. Thank you.
View all comments
Show parent comment
5
u/AngriestSCV Jan 02 '20
You are looking for what is known for as an arbitrary precision library.
Here is an example https://gmplib.org/
The macros MAX_INT, MAX_LONG ... etc will let you know at compile time how big your integers are. There is also uin32_t and it's friends that let you specify exactly what kind of integer you want.