comparison compile/o/opMod_04_D.d @ 1625:4e908dadd51c

modulo operations with complex numbers are allowed
author Moritz Warning <moritzwarning@web.de>
date Thu, 06 Jan 2011 14:59:13 +0100
parents nocompile/o/opMod_04_D.d@daef239f37cf
children
comparison
equal deleted inserted replaced
1624:16361129bf5f 1625:4e908dadd51c
1 // $HeadURL$
2 // $Date$
3 // $Author$
4
5 // @author@ Matti Niemenmaa <deewiant@gmail.com>
6 // @date@ 2006-11-18
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=551
8 // @desc@ [Issue 551] New: Modulo operator works with imaginary and complex operands
9
10 // __DSTRESS_ELINE__ 19
11
12 module dstress.nocompile.o.opMod_04_D;
13
14 void foo(){
15 const idouble a;
16 const idouble b;
17
18 auto x = a % b;
19 }