Crate fibonacci_numbers
source ·Expand description
fibonacci-numbers
First install the version of this crate corresponding to the Fibonacci number you want to use:
cargo add fibonacci-numbers@19 --rename fib19
Then you can use the VALUE
constant to get its value:
assert_eq!(fib19::VALUE, 4181);
Constants
- The 2nd Fibonacci number: 4181