Exponentiation with infix operators in (or operating on) the base: Difference between revisions

Content deleted Content added
PureFox (talk | contribs)
m →‎{{header|Wren}}: Minor tidy
Langurmonkey (talk | contribs)
 
(One intermediate revision by one other user not shown)
Line 320:
{{out}}
<pre>Same as FreeBASIC entry.</pre>
 
=={{header|EasyLang}}==
<syntaxhighlight>
for x in [ -5 5 ]
for p in [ 2 3 ]
print x & "^" & p & " = " & pow x p
.
.
</syntaxhighlight>
 
=={{header|F_Sharp|F#}}==
Line 471 ⟶ 480:
 
{{out}}
As of 0.12, this is the output.
<pre>[-25, -25, 25, -25]
[-125, -125, -125, -125]
</pre>
 
Prior to 0.12, this is the output.
<pre>[25, 25, 25, -25]
[-125, -125, -125, -125]
</pre>