annotate run/cfloat_01.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
parents b8c0195059d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
485
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
1 // $HeadURL$
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
2 // $Date$
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
3 // $Author$
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
4
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
6 // @date@ 2005-04-26
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 920
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3825
485
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
8
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
9 module dstress.run.cfloat_01;
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
10
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
11 int main(){
920
5511f9277078 testcase review
thomask
parents: 769
diff changeset
12 cfloat c = 27Fi + 0.0F;
485
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
13 assert(c.re==0.0F);
769
ce5513bd43f0 minor dmd-0.141 review
thomask
parents: 485
diff changeset
14 assert(c.im==27.0F);
485
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
15 return 0;
1197cba57329 9Li / 9Fi
thomask
parents:
diff changeset
16 }