limits for numeric types

Adam D. Ruppe destructionator at gmail.com
Fri Jun 21 12:22:14 PDT 2013


On Friday, 21 June 2013 at 19:19:37 UTC, Craig Dillabaugh wrote:
> Where can I get values for min/max values for D numeric types,
> like what is available in limits.h and float.h for C/C++?

Literally type:

int.max
int.min
long.max
long.min

etc etc etc. The one that's weird is float.min_normal I think.

There's a list here:

http://dlang.org/property.html


More information about the Digitalmars-d-learn mailing list