view run/creal_05.d @ 95:f4dcf89f7796

extended creal tests
author thomask
date Wed, 03 Nov 2004 08:17:17 +0000
parents
children f87ba6507260
line wrap: on
line source

module dstress.run.creal_05;

int main(){
	real re= 1/3;
	real im= 1/5;
	ireal i=1.0i;
	creal c= re+i*im;
	assert(c.re == re);
	assert(c.re.sizeof == re.sizeof);
	return 0;
}