{"id":67717,"library":"nearly-eq","title":"Nearly Eq","description":"Nearly(Approximately) equal traits and assertion for floating-point comparisons.","status":"active","version":"0.2.4","language":"rust","source_language":null,"source_url":"https://github.com/chalharu/rust-nearly-eq","tags":["floating-point","comparison","tolerance","testing"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nnearly_eq = \"0.2.4\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add nearly_eq","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"NearlyEq","correct":"use nearly_eq::NearlyEq;"}],"quickstart":{"code":"use nearly_eq::NearlyEq;\n\nfn main() {\n    let a = 1.0000001_f64;\n    let b = 1.0_f64;\n    assert!(a.nearly_eq(b, 1e-6));\n}","lang":"rust","description":"Compare floating-point numbers with tolerance."},"warnings":[],"env_vars":null,"search_vec":"'approxim':4 'assert':8 'comparison':13,17 'eq':2 'equal':5 'float':11,15 'floating-point':10,14 'near':1,3 'point':12,16 'test':19 'toler':18 'trait':6","created_at":"2026-06-17T17:40:40.530598+00:00","updated_at":"2026-06-17T17:40:40.530598+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/chalharu/rust-nearly-eq","github":"https://github.com/chalharu/rust-nearly-eq","docs":"https://docs.rs/nearly_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-17","next_check":"2026-12-14","install_tag":null}}