[Issue 308] Documentation of float.max_exp, min_exp is misleading

Don Clugston dac at nospam.com.au
Wed Sep 13 07:31:16 PDT 2006


d-bugmail at puremagic.com wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=308
> 
> 
> 
> 
> 
> ------- Comment #3 from smjg at iname.com  2006-09-13 05:29 -------
> I could've sworn C didn't have any kind of properties on built-in types.

They're in <float.h>. They don't have the same syntactic sugar as D, of 
course.

#define	FLT_MAX_EXP	128
#define FLT_MIN_10_EXP	-37
#define	FLT_MIN_EXP	-125
#define	DBL_MAX_EXP	1024
#define	DBL_MIN_EXP	-1021

etc.



More information about the Digitalmars-d-bugs mailing list