fibonacci-numbers
First install the version of this crate corresponding to the Fibonacci number you want to use:
Then you can use the VALUE
constant to get its value:
assert_eq!;
First install the version of this crate corresponding to the Fibonacci number you want to use:
cargo add fibonacci-numbers@151 --rename fib151
Then you can use the VALUE
constant to get its value:
assert_eq!(fib151::VALUE, 16130531424904581415797907386349);