Math: Fix handling of negative integers in @calc.