User Tools

Site Tools


crpl:docs:pow

Differences

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

Link to this comparison view

Next revision
Previous revision
crpl:docs:pow [2013/10/28 14:53] – created Grayzzurcrpl:docs:pow [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#math_commands|Math Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#math_commands|Math Commands]]
 ===== 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.1382972010.txt.gz · Last modified: 2025/02/14 14:56 (external edit)