Fibonacci number computation

Sisyphus sisyphus1 at
Wed Jul 22 10:54:19 CEST 2009

----- Original Message ----- 
From: "Chris Kajary" <ckajary2881 at>

> I've looked at the source code for mpz_fib_uiand mpz_fib2_ui, and I'm 
> having trouble understanding it mainly because of all the low-level C 
> semantics involving sizes. Is there a way for me to obtain C# code or 
> pseudo-code for your implementation of the Fibonacci number computation?

There's an entry in the Manual that may help:


More information about the gmp-discuss mailing list