{"id":58288,"library":"float-ord","title":"Float Ord","description":"A total ordering for floating-point numbers, handling NaN consistently.","status":"active","version":"0.3.2","language":"rust","source_language":null,"source_url":"https://github.com/notriddle/rust-float-ord","tags":["float","ordering","nan","sorting"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nfloat-ord = \"0.3.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add float-ord","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"FloatOrd","correct":"use float_ord::FloatOrd;"}],"quickstart":{"code":"use float_ord::FloatOrd;\n\nfn main() {\n    let mut vec = vec![FloatOrd(1.0), FloatOrd(f64::NAN), FloatOrd(0.5)];\n    vec.sort();\n    println!(\"{:?}\", vec);\n}","lang":"rust","description":"Sort a vector of floats using FloatOrd for total ordering."},"warnings":[],"env_vars":null,"search_vec":"'consist':13 'float':1,8,14 'floating-point':7 'handl':11 'nan':12,16 'number':10 'ord':2 'order':5,15 'point':9 'sort':17 'total':4","created_at":"2026-06-16T16:18:16.272153+00:00","updated_at":"2026-06-16T16:18:16.272153+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/notriddle/rust-float-ord","github":"https://github.com/notriddle/rust-float-ord","docs":"https://docs.rs/float-ord/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}