annotate run/creal_20.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 d3a3e0c251d8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
166
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
1 // $HeadURL$
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
2 // $Date$
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
3 // $Author$
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
4
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
5 // @author@ Nick <Nick_member@pathlink.com>
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
6 // @date@ 2004-11-30
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
7 // @uri@ news:coi83g$1s76$1@digitaldaemon.com
1384
d3a3e0c251d8 nntp: -> http:
thomask
parents: 1383
diff changeset
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2385
166
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
9
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
10 module dstress.run.creal_20;
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
11
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
12 int main(){
920
5511f9277078 testcase review
thomask
parents: 166
diff changeset
13 creal c = (2.0L - 2.0Li)*(2.0L - 2.0Li);
5511f9277078 testcase review
thomask
parents: 166
diff changeset
14 assert(c.re == 0.0L);
5511f9277078 testcase review
thomask
parents: 166
diff changeset
15 assert(c.im == -8.0L);
166
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
16 return 0;
4c52d8c7c363 dstress.run.creal_20
thomask
parents:
diff changeset
17 }