Mercurial > projects > ldc
view tests/mini/complex4.d @ 848:d54f7cf84e6b
Runtime now compiles with D2 again. This does NOT mean it works flawlessly !!!
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 14 Dec 2008 04:11:32 +0100 |
parents | fbb1a366cfbc |
children |
line wrap: on
line source
module complex4; void main() { cfloat c = 2f + 3fi; float r = cast(float)c; ifloat i = cast(ifloat)c; }