Mercurial > projects > dstress
annotate compile/o/opMod_04_H.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 | 4e908dadd51c |
children |
rev | line source |
---|---|
1235
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
2 // $Date$ |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
3 // $Author$ |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
4 |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
5 // @author@ Matti Niemenmaa <deewiant@gmail.com> |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
6 // @date@ 2006-11-18 |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1235
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=551 |
1235
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 551] New: Modulo operator works with imaginary and complex operands |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
9 |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
10 // __JSTRESS_KLINE__ 19 |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
11 |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
12 module dstress.nocompile.o.opMod_04_H; |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
13 |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
14 void foo(){ |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
15 cdouble a; |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
16 double b; |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
17 |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
18 auto x = a % b; |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
19 } |