double.min - should be 5e-324?

Ali Çehreli acehreli at yahoo.com
Sat Dec 4 16:55:30 PST 2010


Ellery Newcomer wrote:
 > looks like double.min is returning double.min_normal
 >
 > oddly enough, double.min is undefined in the spec

Yeah, things got changed a while back for floating point types. .min now 
returns the minimum normal. To get the actual minimum value, we need to 
use the negative of .max.

Ali


More information about the Digitalmars-d mailing list