Add fix and test for truncation of float constant