-------- Original Message -------- Subject: Re: Representing +inf, -inf and nan in mpq_class objects Date: Tue, 07 Oct 2003 09:20:04 +1000 From: Kevin Ryde <user42@zip.com.au> To: Roberto Bagnara <bagnara@cs.unipr.it> CC: gmp-discuss@swox.com References: <3F7E76E5.1060100@cs.unipr.it> Roberto Bagnara <bagnara@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. -- Prof. Roberto Bagnara Computer Science Group Department of Mathematics, University of Parma, Italy http://www.cs.unipr.it/~bagnara/ mailto:bagnara@cs.unipr.it