rfcalcstands for "R4 Calculations". R4 is my self representaion =_=
- Install Rust and Cargo will be installed, too
- Run
cargo install rfcalc
E.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 ofNchooseKrfcalc fc <NUM>: Convert degree from Fahrenheit to Celsius
Quickly devide bytes
only support units of lower case now
E.g.
rfcalc bytes "4mb/4kb"
1024 kbcargo run -- <subcommand> <args>