Simple multiplcation function giving wrong for negative computation

those results very much seem correct! I suggest unrolling your math carefully. Maybe do Math.mul(4, -2) by hand.