limits for numeric types
Craig Dillabaugh
cdillaba at cg.scs.carleton.ca
Fri Jun 21 12:30:28 PDT 2013
On Friday, 21 June 2013 at 19:22:15 UTC, Adam D. Ruppe wrote:
> 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
Thank you very much.
Now, is there any way to get Google to find my question/your
answer if someone searches for "dlang numeric limits"?
Cheers,
Craig
More information about the Digitalmars-d-learn
mailing list