[Issue 3481] PATCH: opPow(), x ^^ y as a power operator
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Dec 8 22:11:42 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3481
--- Comment #16 from Witold Baryluk <baryluk at smp.if.uj.edu.pl> 2009-12-08 22:11:40 PST ---
It is also usefull to have opPowAssign for vector operations:
float a[],. b[];
a[] ^^= 2;
a[] ^^= b[];
It should be easier to compiler to generate better code, than from this:
a[] = a[] ^^ 2;
a[] = a[] ^^ b[];
BTW is ^^ supported as operator in array operations? IT definietly SHOULD.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list