Mercurial > projects > dstress
comparison compile/c/creal_37_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.0L); | 18 static assert(getRealPart!(a) == 1.0L); |
19 | 19 |
20 | 20 |
21 template getImaginaryPart(creal x){ | 21 template getImaginaryPart(creal x){ |
22 const real getImanginaryPart = x.im; | 22 const real getImaginaryPart = x.im; |
23 } | 23 } |
24 | 24 |
25 static assert(getImaginaryPart!(a) == 2.0L); | 25 static assert(getImaginaryPart!(a) == 2.0L); |