www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Integer max value

reply "pgtkda" <dlang byom.de> writes:
Is there a way to get the max size of an integer?
Jul 02 2014
parent reply "Rene Zwanenburg" <renezwanenburg gmail.com> writes:
On Wednesday, 2 July 2014 at 08:39:06 UTC, pgtkda wrote:
 Is there a way to get the max size of an integer?
int.max The same exists for other built-ins and enums.
Jul 02 2014
parent "pgtkda" <dlang byom.de> writes:
On Wednesday, 2 July 2014 at 08:58:46 UTC, Rene Zwanenburg wrote:
 On Wednesday, 2 July 2014 at 08:39:06 UTC, pgtkda wrote:
 Is there a way to get the max size of an integer?
int.max The same exists for other built-ins and enums.
thank you very much
Jul 02 2014