arithmetic: New things to play with arithmetic

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>