annotate run/c/cfloat_11_B.d @ 1321:e6887749b811

cleaned up remaining puremagic @uri@s
author thomask
date Sun, 31 Dec 2006 20:00:02 +0000
parents 23b89cbbe105
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1237
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
1 // $HeadURL$
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
2 // $Date$
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
3 // $Author$
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
4
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
5 // @author@ Thomas Kühne <thomas-doop@kuehne.cn>
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
6 // @date@ 2006-11-19
1321
e6887749b811 cleaned up remaining puremagic @uri@s
thomask
parents: 1237
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=575
1237
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
8 // @desc@ [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
9
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
10 module dstress.run.c.cfloat_11_B;
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
11
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
12 int main(){
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
13 if((1.0f + 2.0fi) * 2.0f + 1.0fi != 2.0f + 5.0fi){
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
14 assert(0);
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
15 }
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
16 return 0;
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
17 }
23b89cbbe105 [Issue 575] New: wrong evaluation of (creal * 2 + 1i)
thomask
parents:
diff changeset
18