DarwinBotsManual
Open the app EspañolES

logx

Facts

Word
logx
Family
Advanced
Integer stack
pops 2, pushes 1
What it does
Saca dos números a y b, les saca el signo y apila el logaritmo de a en base b, redondeado. Con b menor que 2 o a en 0 da 0.
Cost
Advanced command; debugint and debugbool are free
Runs
inside a gene: in the condition (cond) and in the body (start or else)