CLI calculation tools
rfcalcstands for "R4 Calculations". R4 is my self representaion =_=
Installation
- Install Rust and Cargo will be installed, too
- Run
cargo install rfcalc
Usage
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
rfcalc bytes <expression to calculate>
Quickly devide bytes
only support units of lower case now
E.g.
Testing