Exponentiation order: Difference between revisions
m
→{{header|Wren}}: Changed to Wren S/H
imported>KayproKid (Added S-BASIC example) |
m (→{{header|Wren}}: Changed to Wren S/H) |
||
Line 1,485:
{{libheader|Wren-fmt}}
Wren doesn't have an exponentiation operator as such but the Num class has a ''pow'' method which does the same thing.
<syntaxhighlight lang="
var ops = [ "5**3**2", "(5**3)**2", "5**(3**2)" ]
|