Mercurial > projects > ldc
view test/complex2.d @ 128:e5fe8521bbfa trunk
[svn r132] Added some tests. some will fail at the moment.
author | lindquist |
---|---|
date | Fri, 30 Nov 2007 17:12:08 +0100 |
parents | 4d1e9eb001e0 |
children |
line wrap: on
line source
module complex2; void main() { cdouble c = 3.0 + 0i; cdouble d = 2.0 + 0i; { cdouble c1 = c + 3.0; cdouble c2 = c - 3.0i; } { cdouble c1 = c / 2.0; } }