Fix issue b/c rustc doesn't infer floats from integer constants
Remove dead code
GPLv3