Front page | perl.perl5.porters |
Postings from October 2014
Re: Max int value
Thread Previous
From:
sisyphus1
Date:
October 11, 2014 03:27
Subject:
Re: Max int value
Message ID:
AAB2357D9AE2418B87C509A836FAB780@OwnerPC311012
-----Original Message-----
From: Father Chrysostomos
> What constant should I use if I want the highest number that can be
> stored in an int? Is PERL_INT_MAX what I want?
Looks that way to me. I have various perls of ivtypes 'long' (32-bit and
64-bit) and 'long long' (64-bit). PERL_INT_MAX is always 2147483647, which
is the max value that can be held by the C int type of the respective
compilers that built those perls.
Cheers,
Rob
Thread Previous
-
Max int value
by Father Chrysostomos
-
Re: Max int value
by sisyphus1