Mercurial > projects > ldc
view test/complex2.d @ 121:9c79b61fb638 trunk
[svn r125] Renamed/moved a few backend member inside DMD structures for consistency.
Unit tests are now implemented.
author | lindquist |
---|---|
date | Tue, 27 Nov 2007 03:09:36 +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; } }