A fast and efficient command-line tool written in Rust for calculating large Fibonacci numbers. Supports decimal, scientific notation, and hexadecimal input formats.
100
)1e2
)0x64
)Clone the repository and build it using Cargo:
git clone https://github.com/Abhrankan-Chakrabarti/fibonacci-calculator.git
cd fibonacci-calculator
cargo build --release
cargo run --release -- [OPTIONS]
–no-print : Suppress printing the Fibonacci result
–help : Show help message
–version : Show version information
cargo run --release
This program computes the n-th Fibonacci number.
Enter n : 1e3
F(1000) = 434665576869374564356885276750406258025646605173717804024817290895...
Elapsed time = 0.000021 sec
Abhrankan Chakrabarti
This project is licensed under the MIT License.