Mercurial > projects > dstress
annotate compile/c/cfloat_11_C.d @ 1321:e6887749b811
cleaned up remaining puremagic @uri@s
author | thomask |
---|---|
date | Sun, 31 Dec 2006 20:00:02 +0000 |
parents | 23b89cbbe105 |
children |
rev | line source |
---|---|
1237 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Thomas Kühne <thomas-doop@kuehne.cn> | |
6 // @date@ 2006-11-19 | |
1321 | 7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=575 |
1237 | 8 // @desc@ [Issue 575] New: wrong evaluation of (creal * 2 + 1i) |
9 | |
10 module dstress.compile.c.cfloat_11_C; | |
11 | |
12 template foo(cfloat a){ | |
13 const cfloat foo = a * 2.0f + 1.0fi; | |
14 } | |
15 | |
16 static assert(foo!(1.0f + 2.0fi) == 2.0f + 5.0fi); | |
17 |