support larger int types

Hans Åberg haberg-1 at telia.com
Fri Oct 14 21:49:14 UTC 2016


> On 14 Oct 2016, at 23:11, Torbjörn Granlund <tg at gmplib.org> wrote:
> 
> Pedro Gimeno <gmpdiscuss at formauri.es> writes:
> 
>> Are uintmax_t and intmax_t also optional for C99 conformant compilers?
> 
>  No, they are mandatory. The following are mandatory as well:
> 
> Good!
> 
>         int_fast8_t                            int_fast32_t
>         int_fast16_t                           int_fast64_t
>         uint_fast8_t                           uint_fast32_t
>         uint_fast16_t                          uint_fast64_t
> 
> Swell! I will henceforth stick to these types in lieu of plain slow int,
> long.

There are summaries here for C99 & C++11 and later:
  http://en.cppreference.com/w/c/types/integer
  http://en.cppreference.com/w/cpp/types/integer




More information about the gmp-discuss mailing list