How to handle large numbers in the C Programming language? Meet the GMP library!



How to handle large numbers in the C Programming language? Meet the GMP library!

How to handle large numbers in the C Programming language? Meet the GMP library!

If it comes to really large numbers in #programming you are usually limited to numbers as large as 18,446,744,073,709,551,614. And if a number that massive does not match your needs you will quickly come to the #GMP library: the GNU Multiple Precision Arithmetic Library. So when you have to deal with numbers like the number of sand grains on the world’s beaches, the amount of stars in the galaxy, or average level of stupidity of drivers on the highway in front of my wife’s car (as she says), the standard library in C often gets us nowhere. In this video you will learn the basics how to open the world of numbers with the GMP library where size really matters!

If you have further questions, useful feedback, or an idea for a #C-related topic to talk through please leave a comment. From time to time I will come back on your issues in upcoming episodes.

And if you liked this episode please give it a thumbs up, if you want to see more video like this, subscribe to this channel and don’t forget to hit the bell if you want to stay informed, when new episodes are released.

Sources & Links:
https://gmplib.org/manual/index
https://gmplib.org/manual/Nomenclature-and-Types
https://gmplib.org/manual/Integer-Functions
https://github.com/jagottsicher/myCTalkthroughs
https://github.com/jagottsicher/myCTalkthroughs/blob/main/001-massive-numbers.c

P.S.: If you’re interested to learn programming basics in #Google’s #programming #language #Go feel free to have a look at my course on #Udemy; https://www.udemy.com/course/learn-programming-in-go-golang-a-rich-guide-for-beginners/?referralCode=484136908AFF6CF0CA83

Comments are closed.