Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Code shared from the Rust Playground
fn main() {
println!("{:?}", 1u32.cmp(&2));
println!("{:?}", 1.0f32.partial_cmp(&2.0f32));
println!("{:?}", std::f32::NAN.partial_cmp(&2.032));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.