annotate run/creal_09.d @ 435:ec6d35cccfb5

pre dmd-0.121 review Walter <walter@digitalmars.com> 2005-04-15 mail:000e01c54203$22c0e850$0200a8c0@colossus
author thomask
date Sat, 16 Apr 2005 08:18:57 +0000
parents 8f24d8aa2308
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
374
f87ba6507260 added missing meta-data
thomask
parents: 95
diff changeset
1 // $HeadURL$
f87ba6507260 added missing meta-data
thomask
parents: 95
diff changeset
2 // $Date$
f87ba6507260 added missing meta-data
thomask
parents: 95
diff changeset
3 // $Author$
f87ba6507260 added missing meta-data
thomask
parents: 95
diff changeset
4
95
f4dcf89f7796 extended creal tests
thomask
parents:
diff changeset
5 module dstress.run.creal_09;
f4dcf89f7796 extended creal tests
thomask
parents:
diff changeset
6
f4dcf89f7796 extended creal tests
thomask
parents:
diff changeset
7 int main(){
435
ec6d35cccfb5 pre dmd-0.121 review
thomask
parents: 399
diff changeset
8 creal a=1.3L+9.7Li;
399
8f24d8aa2308 ifloat -> cfloat
thomask
parents: 398
diff changeset
9 assert(a.re == 1.3L);
8f24d8aa2308 ifloat -> cfloat
thomask
parents: 398
diff changeset
10 assert(a.im == 9.7L);
95
f4dcf89f7796 extended creal tests
thomask
parents:
diff changeset
11 return 0;
f4dcf89f7796 extended creal tests
thomask
parents:
diff changeset
12 }