annotate run/c/cast_30_B.d @ 1489:b8c0195059d9

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 13:47:01 +0000
parents f4e98d870b57
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
757
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
1 // $HeadURL$
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
2 // $Date$
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
3 // $Author$
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
4
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
6 // @date@ 2005-12-03
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 1090
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5729
757
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
8
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
9 module dstress.run.c.cast_30_B;
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
10
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
11 alias cdouble X;
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
12
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
13 int main(){
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
14 X four = cast(X) (4.0i + 0.4);
1090
f4e98d870b57 pre DMD-0.163 review
thomask
parents: 757
diff changeset
15
757
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
16 assert(four.im == 4.0);
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
17 assert(four.re == 0.4);
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
18
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
19 return 0;
47dfb8eab266 Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
thomask
parents:
diff changeset
20 }