issue with DIVS instruction

math.floor in divs rounds down away from 0 with negative numbers. Replaced with double binary not so that it always truncates regardless of whether +ve or -ve