Jump to content

Arithmetic/Integer: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 465:
// Exponentiation is also a base arithmetic operation
? "a**b", a ** b
return NIL</lang>
 
=={{header|Clojure}}==
Line 1,116:
a ** b = 5 ** 3 = 125</pre>
 
{{incorrect|Harbour|Name of function not given.}}
=={{header|Harbour}}==
<lang harbour>Functionprocedure Test( a, b )
? "a+b", a + b
? "a-b", a - b
Line 1,128 ⟶ 1,127:
// Exponentiation is also a base arithmetic operation
? "a**b", a ** b
Return Nil return</lang>
 
=={{header|Haskell}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.