fibonacci_numbers/
lib.rs

1//! # fibonacci-numbers
2//! First install the version of this crate corresponding to the [Fibonacci number](https://en.wikipedia.org/wiki/Fibonacci_number) you want to use:
3//! ```sh
4//! cargo add fibonacci-numbers@101 --rename fib101
5//! ```
6//!
7//! Then you can use the `VALUE` constant to get its value:
8//! ```
9//! # use fibonacci_numbers as fib101;
10//! assert_eq!(fib101::VALUE, 573147844013817084101);
11//! ```
12
13#![no_std]
14
15/// The 101st [Fibonacci number](https://en.wikipedia.org/wiki/Fibonacci_number): 573147844013817084101
16pub const VALUE: u128 = fib99::VALUE + fib100::VALUE;