This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:abs [2013/01/14 19:09] – external edit 127.0.0.1 | crpl:docs:abs [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOTOC~~ | ||
+ | <- [[crpl: | ||
- | ===== abs ===== | + | ====== abs ====== |
+ | abs(< | ||
- | ^Arguments^Result^Notation^ | + | ===== Description ===== |
- | |One item on the stack|The Absolute Value of the item |'' | + | Calculates |
- | + | ===== Examples | |
- | === Description | + | < |
- | Calculates the absolute value of the item and pushes the result on the stack. | + | trace(abs(-1)) #prints ' |
- | === Examples | + | </ |
- | < | + | |