propeller.push.instructions.numeric
FLOAT and INTEGER Instructions (polymorphic). Additional instructions can be found at Additional Instructions.
_add
Pushes the sum of the top two items onto the same stack
_dec
Pushes the decrement (i.e. -1) of the top item of the stack
_from_boolean
Pushes 1 / 1.0 if the top BOOLEAN is TRUE, or 0 / 0.0 if FALSE
_from_char
Pushes the ASCII value of the top CHAR
_from_string
Pushes the value of the top STRING, if it can be parsed as a number. Otherwise, acts as a NOOP
_gt
Pushes TRUE onto the BOOLEAN stack if the first item is greater than the second item, and FALSE otherwise
_gte
Pushes TRUE onto the BOOLEAN stack if the second item is greater than or equal to the top item, and FALSE otherwise
_inc
Pushes the increment (i.e. +1) of the top item of the stack
_lt
Pushes TRUE onto the BOOLEAN stack if the second item is less than the top item, and FALSE otherwise
_lte
Pushes TRUE onto the BOOLEAN stack if the second item is less than or equal to the top item, and FALSE otherwise
_max
Pushes the maximum of the top two items
_min
Pushes the minimum of the top two items
_mod
Pushes the top item modulo the second item onto the same stack. If the second item is zero, pushes 1. The modulus is computed as the remainder of the quotient, where the quotient has first been truncated towards negative infinity.
_mult
Pushes the product of the top two items onto the same stack
_quot
Pushes the quotient of the top two items (i.e. the first item divided by the second item) onto the same stack. If the second item is zero, pushes 1
_subtract
Pushes the difference of the top two items (i.e. the second item minus the top item) onto the same stack