{"id":58516,"library":"float-eq","title":"Float Eq","description":"Compare IEEE floating point primitives, structs and collections for equality with tolerance.","status":"active","version":"1.0.1","language":"rust","source_language":null,"source_url":"https://github.com/jtempest/float_eq-rs","tags":["floating-point","comparison","equality","testing"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nfloat_eq = \"1.0.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add float_eq","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"float_eq","correct":"use float_eq::float_eq;"}],"quickstart":{"code":"use float_eq::float_eq;\n\nfn main() {\n    let a = 1.0f32;\n    let b = 1.0000001f32;\n    assert!(float_eq!(a, b, abs <= 0.0001));\n    println!(\"Floats are approximately equal\");\n}","lang":"rust","description":"Compares two floats with an absolute tolerance."},"warnings":[],"env_vars":null,"search_vec":"'collect':10 'compar':3 'comparison':18 'eq':2 'equal':12,19 'float':1,5,16 'floating-point':15 'ieee':4 'point':6,17 'primit':7 'struct':8 'test':20 'toler':14","created_at":"2026-06-16T16:26:44.699059+00:00","updated_at":"2026-06-16T16:26:44.699059+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://jtempest.github.io/float_eq-rs/","github":"https://github.com/jtempest/float_eq-rs","docs":"https://docs.rs/float_eq/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing","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}}