Mercurial > projects > dstress
annotate nocompile/o/opMod_05_G.d @ 1235:3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
Matti Niemenmaa <deewiant@gmail.com>
2006-11-18
news:bug-551-3@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Sat, 25 Nov 2006 13:38:33 +0000 |
parents | |
children | daef239f37cf |
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 |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
7 // @uri@ news:bug-551-3@http.d.puremagic.com/issues/ |
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__ 18 |
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_05_G; |
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 creal a; |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
16 creal 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 } |