Exponentiation with infix operators in (or operating on) the base: Difference between revisions
Content added Content deleted
(Added Go) |
m (→{{header|Phix}}: like Go comment) |
||
Line 178: | Line 178: | ||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
Phix has a power() function instead of an infix operator, hence there are only two possible syntaxes, with the obvious outcomes |
Phix has a power() function instead of an infix operator, hence there are only two possible syntaxes, with the obvious outcomes.<br> |
||
(Like Go, Phix does not support operator overloading or definition at all.) |
|||
<lang Phix>for x=-5 to 5 by 10 do |
<lang Phix>for x=-5 to 5 by 10 do |
||
for p=2 to 3 do |
for p=2 to 3 do |