User Tools

Site Tools


crpl:docs:pow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
crpl:docs:pow [2021/02/05 11:44] – Rmoved discussion tag Karsten75crpl:docs:pow [2022/07/05 14:27] (current) – Reformat Karsten75
Line 3: Line 3:
 ===== pow ===== ===== pow =====
  
-^Arguments^Result^Notation^ +<-number <-power pow ->result
-|Number, Exponent|Number to the power of Exponent |''n1 n2 -- n3 ''+
  
 === Description === === Description ===
-Returns n1^n2 to the stack.+Returns number raised to power to the stack.
 === Examples === === Examples ===
-<code>+<code 4RPL>
 ShowTraceLog ShowTraceLog
 2 4 pow Trace 2 4 pow Trace
 #Raises 2 to the 4th power, then traces the result.  You should see a 16 appear in the trace log. #Raises 2 to the 4th power, then traces the result.  You should see a 16 appear in the trace log.
 </code>  </code> 
crpl/docs/pow.txt · Last modified: 2022/07/05 14:27 by Karsten75