view run/opCast_03.d @ 374:f87ba6507260

added missing meta-data
author thomask
date Thu, 31 Mar 2005 09:01:33 +0000
parents 5f98d4a33d49
children
line wrap: on
line source

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

module dstress.run.opCast_03;

int main(){
	float f = 1.2e-3;
	float a = 12.0;
	float b = 10000.0;
	float c = a/b;
	assert(f == c);
	assert(f == cast(float) (a/b));
	return 0;
}