#fibonacci-number #numbers #compute #nth #precision #modulo

bin+lib fibo

Compute the N-th Fibonacci number with arbitrary number precision

2 releases

0.0.2 Jun 3, 2021
0.0.1 Jun 2, 2021

#1075 in Math

MIT license

12KB
276 lines

Fibonacci Rust

Compute the n-th Fibonacci number modulo m with given integers n and m.

Install

$ cargo install fibo

Usage

$ fibo 123456789123456789123456789 987654321
F(123456789123456789123456789) = 344648225 mod 987654321 (0ms)

Dependencies

~480KB
~11K SLoC