Mercurial > projects > dstress
annotate run/i/idouble_04_A.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | a14f98c3ae83 |
children |
rev | line source |
---|---|
740 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.cn> | |
6 // @date@ 2005-11-12 | |
1489 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5415 |
740 | 8 |
9 module dstress.run.i.idouble_04_A; | |
10 | |
11 int main(){ | |
12 const idouble a = 1.0i; | |
13 | |
14 static assert(a.im == 1.0); | |
15 static assert(a.re == 0.0); | |
16 | |
17 return 0; | |
18 } | |
19 |