Contents
DarwinBots
Manual
Open the app
Español
ES
Theme
Getting started
App guide
The simulation
The DNA language
Sysvar reference
Operator reference
Numbers and reads
Basic
add
sub
mult
div
rnd
*
mod
sgn
abs
dup
drop
clear
swap
over
Advanced
Bitwise
Comparisons
Logic
Writing to memory
Flow
All operators
Tutorials
Strategies
Technical
Manual
›
Operator reference
›
Basic
abs
Facts
Word
abs
Family
Basic
Integer stack
pops 1, pushes 1
What it does
Cambia el tope por su valor absoluto: le saca el signo.
Cost
Basic command
Runs
inside a gene: in the condition (cond) and in the body (start or else)
Previous
sgn
Next
dup