{"id":70430,"library":"muldiv","title":"muldiv","description":"Provides a trait for numeric types to perform combined multiplication and division with overflow protection.","status":"active","version":"1.0.1","language":"rust","source_language":null,"source_url":"https://github.com/sdroege/rust-muldiv","tags":["arithmetic","overflow","safe","numeric"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nmuldiv = \"1.0.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add muldiv","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"MulDiv","correct":"use muldiv::MulDiv;"}],"quickstart":{"code":"use muldiv::MulDiv;\n\nfn main() {\n    let result: u32 = 10u32.mul_div(3, 2);\n    println!(\"{}\", result);\n}","lang":"rust","description":"Computes (10 * 3) / 2 with overflow protection."},"warnings":[],"env_vars":null,"search_vec":"'arithmet':17 'combin':10 'divis':13 'muldiv':1 'multipl':11 'numer':6,20 'overflow':15,18 'perform':9 'protect':16 'provid':2 'safe':19 'trait':4 'type':7","created_at":"2026-06-17T18:13:56.493553+00:00","updated_at":"2026-06-17T18:13:56.493553+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/sdroege/rust-muldiv","github":"https://github.com/sdroege/rust-muldiv","docs":"https://docs.rs/muldiv/","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-17","next_check":"2026-12-14","install_tag":null}}