How to get higher precision then 15 digits

Doubles and long doubles are limited to 15 digits in visual c++. Is there any other data type I could use to get over this limit?
Long double usually has about 2 more digits than double. If an integer type is appropriate, type long long should give about 18 and a bit digits.
Beyond that, a separate bignumber library will be needed.

Edit: It may depend upon the compiler. I've found different precision for long double, depending upon the compiler and options selected.
Last edited on
Topic archived. No new replies allowed.