| Crates.io | rfcalc |
| lib.rs | rfcalc |
| version | 0.4.0 |
| created_at | 2023-06-17 08:33:43.658514+00 |
| updated_at | 2024-09-11 14:39:19.399484+00 |
| description | A tool to calculate things |
| homepage | https://github.com/chengr4/calc-cli |
| repository | https://github.com/chengr4/calc-cli |
| max_upload_size | |
| id | 892772 |
| size | 18,382 |
rfcalcstands for "R4 Calculations". R4 is my self representaion =_=
cargo install rfcalcE.g.
rfcalc factorial <NUM>: Calculate the factorial of a number (max: 20)rfcalc hw <NUM>: Calculate the Hamming weight of a binary numberrfcalc c <N> <K>: Calculate the combination of N choose Krfcalc fc <NUM>: Convert degree from Fahrenheit to Celsiusrfcalc bytes <expression to calculate>Quickly devide bytes
only support units of lower case now
E.g.
rfcalc bytes "4mb/4kb"
1024 kb
cargo run -- <subcommand> <args>