Representing +inf, -inf and nan in mpq_class objects
Kevin Ryde
user42 at zip.com.au
Tue Oct 7 10:20:04 CEST 2003
Roberto Bagnara <bagnara at cs.unipr.it> writes:
>
> resorting to normal mpz_class
> operations only for normal values.
Provided your special values don't reach the mpq functions there
shouldn't be any problems.
A few mpq functions will be happy with any values actually, eg.
mpq_set and the input/output routines I think.
> e.g., if the (present or future) implementation
> does too much automatic canonicalization.
There's no plans for anything like that.
More information about the gmp-discuss
mailing list