view run/f/float_literal_dec_11.d @ 1586:a74f0139fc3d

Fix tests using typeof on types.
author Christian Kamm <kamm incasoftware de>
date Thu, 21 Aug 2008 15:42:21 +0200
parents 97f5024add8c
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

module dstress.run.f.float_literal_dec_11;

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