Fix Fraction(-2147483648.0) for 32-bit wide long

Change-Id: I6465377de1edff5d0ccc0049fb6d24f6f1223fd2