User Tools

Site Tools


crpl:docs:abs

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:abs [2013/01/14 19:09] – external edit 127.0.0.1crpl:docs:abs [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +~~NOTOC~~
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#math_commands|Math Commands]]
  
-=====  abs  =====+=====abs =====
 +abs(<-var) ->absvar
  
-^Arguments^Result^Notation^ +===== Description ===== 
-|One item on the stack|The Absolute Value of the item |''n1 -- n2 ''|+Calculates the absolute value of the item and pushes the result on the stack.
  
- +===== Examples ===== 
-=== Description === +<code 4rpl> 
-Calculates the absolute value of the item and pushes the result on the stack. +trace(abs(-1)) #prints '1' 
-=== Examples === +</code>
-<code>example goes here</code> +
  
  
crpl/docs/abs.1358190552.txt.gz · Last modified: 2025/02/14 14:56 (external edit)