Mercurial > projects > dstress
annotate run/ieee_754_zerocomp_03.d @ 1593:a2c2122f2f66
Remove error line information for simple tests that may legitimately have
another line referenced in the error message.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 28 Aug 2008 17:30:16 +0200 |
parents | e720ce827c1c |
children |
rev | line source |
---|---|
496 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 module dstress.run.ieee_754_zerocomp_03; | |
6 | |
7 int main(){ | |
8 cfloat f1, f2; | |
9 | |
10 f1=0.0f+0.0fi; | |
11 f2=-f1; | |
12 assert(f1==f2); | |
13 | |
14 f1=0.0f-0.0fi; | |
15 f2=-f1; | |
16 assert(f1==f2); | |
17 | |
18 f1=-0.0f+0.0fi; | |
19 f2=-f1; | |
20 assert(f1==f2); | |
21 | |
22 f1=-0.0f-0.0fi; | |
23 f2=-f1; | |
24 assert(f1==f2); | |
25 | |
26 return 0; | |
27 } |