Clean up math, force IEEE

Signed-off-by: Alec Ari <neotheuser@ymail.com>