Remove a compile warning and better test with float