Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lint to detect transmutes from float to integer #4889

Merged

Commits on Dec 8, 2019

  1. Add lint to detect transmutes from float to integer

    Add lint that detects transmutation from a float to an integer
    and suggests usage of `{f32, f64}.to_bits()` instead.
    krishna-veerareddy committed Dec 8, 2019
    Configuration menu
    Copy the full SHA
    c77fc06 View commit details
    Browse the repository at this point in the history
  2. Move transmute_float_to_int test cases into separate file

    `transmute.stderr` file line count exceeded due to the new test
    cases so moving the new test cases into a separate file.
    krishna-veerareddy committed Dec 8, 2019
    Configuration menu
    Copy the full SHA
    23c03e4 View commit details
    Browse the repository at this point in the history