Class FibonacciCache

Class Documentation

class FibonacciCache

the numbers of Fibonacci, those computed kept between the calls

Public Functions

std::uint64_t value(int n) const

F_n.

Pre:

0 <= n <= 92

Post:

the numbers up to F_n are kept

int size(void) const

the numbers kept, F_0 , … , F_{size() - 1}