view run/float_07.d @ 1602:56d43974b468

Fix broken tests fvbommel pointed out in #2.
author Christian Kamm <kamm incasoftware de>
date Fri, 06 Mar 2009 15:48:16 +0100
parents f87ba6507260
children
line wrap: on
line source

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

module dstress.run.float_07;

int main(){
	float f;
	assert(float.mant_dig >= 8);
	assert(float.mant_dig < double.mant_dig);
	assert(float.mant_dig == f.mant_dig);
	assert(float.mant_dig == (2.4f).mant_dig);
	return 0;
}