gr_generic_fib2_fmpz, gr_generic_fib_fmpz, gr_generic_fib_ui, gr_generic_fib_vec
Synopsis
#include <flint/gr_special.h>Fibonacci numbers by a table for small and otherwise the doubling formulas , along the binary expansion of . gr_generic_fib2_fmpz sets v to and u to . The vec version uses the recurrence.
Cite this page
The FLINT team, “gr_generic_fib2_fmpz, gr_generic_fib_fmpz, gr_generic_fib_ui, gr_generic_fib_vec (gr_special.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_special/gr_generic_fib2_fmpz.html (generated 2026-11-02).
@misc{flint-doc-gr-special-gr-generic-fib2-fmpz,
author = {{The FLINT team}},
title = {{gr\_generic\_fib2\_fmpz, gr\_generic\_fib\_fmpz, gr\_generic\_fib\_ui, gr\_generic\_fib\_vec (gr\_special.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_special/gr_generic_fib2_fmpz.html},
note = {Generated 2026-11-02}
}