Mercurial > projects > dstress
annotate nocompile/o/opMod_05_E.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | 3a8bc4294d51 |
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 // __DSTRESS_ELINE__ 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_05_E; |
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 const real a; |
3a8bc4294d51
[Issue 551] New: Modulo operator works with imaginary and complex operands
thomask
parents:
diff
changeset
|
16 const ireal 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 } |