comparison compile/c/cdouble_12_B.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents daef239f37cf
children
comparison
equal deleted inserted replaced
1596:9bd08b3d5299 1597:8b9d4d2f925a
17 17
18 static assert(getRealPart!(a) == 1.0); 18 static assert(getRealPart!(a) == 1.0);
19 19
20 20
21 template getImaginaryPart(cdouble x){ 21 template getImaginaryPart(cdouble x){
22 const double getImanginaryPart = x.im; 22 const double getImaginaryPart = x.im;
23 } 23 }
24 24
25 static assert(getImaginaryPart!(a) == 2.0); 25 static assert(getImaginaryPart!(a) == 2.0);