view run/float_litaeral_dec_04.d @ 35:9ac5baf9ac69

added float literal decimal tests
author thomask
date Wed, 13 Oct 2004 07:19:54 +0000
parents
children
line wrap: on
line source

int main(){
	float f=3.40282e+38; // ~~ float.max
	assert(f<f.max);
	assert(f>3e+38);
	return 0;
}