Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Home » Tip Bank » C++
Language: C++
Expertise: Beginner
Mar 27, 1997

How to do large scalar math

Question:
How can one do 64-bit or larger math calculations in C++? Do you know of a free class or class library that supports large scalar math?

Answer:
There are classes included in the GNU G++ distribution for handling very large numbers. They have an Integer class and a class for Rational numbers, among other things. If you are not using the GNU G++ compiler, these libraries should still port to other compilers with some effort. .

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date