Subject: Re: max int value
To: Fong Siu Lung Gordon <ein@hkstar.com>
From: Peter Seebach <seebs@plethora.net>
List: current-users
Date: 05/16/2000 00:31:55
In message <Pine.SOL.4.10.10005161314180.21719-100000@imsp234.hkstar.com>, Fong
 Siu Lung Gordon writes:
>I recently write a problem that needs digits as long as 14.  As I know the
>INT_MAX only 10 digits.  How can I use digit which have 14 characters
>long.  Please help.

This is really not topical.

1.  Use "int64_t".
2.  You might try "long double".
3.  Use a multiprecision math library.

Until you tell people exactly what properties these numbers need to have, they
can't help you.

-s