Subject: Re: max int value
To: Fong Siu Lung Gordon <>
From: Peter Seebach <>
List: current-users
Date: 05/16/2000 00:31:55
In message <>, 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.