Vincent Torri on Fri, 10 Jun 2005 14:55:34 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: dumb question about rationals




I need the exact value of the fraction.

Sure, but why do you need it as a long long ? It is quite possible
for the numerator to be too large to fit in a long long, and whatever
you can do with a long long, you can do it with a t_INT.

ho, ok, i've not understood that. Well, i use the program i write in a fortran one (i have done a C-fortran interface for it). Afaik, the best integer precision that I can have in fortran 90 is 64 bits.

Btw, is there a fortran binding of PARI ?

Vincent