mpq_class documentation is not explicit about canonicalization
marc.glisse at inria.fr
Tue Feb 9 11:53:35 CET 2010
On Mon, 8 Feb 2010, gsauthof at techfak.uni-bielefeld.de wrote:
> the paragraph about the mpq_class(integer num, integer den) constructor
> does not state if the rational num/den needs to be in canonical form.
Actually, this is specified globally for the whole page in the first
> PS: Btw, prefixing the constructor name with 'void' gives the wrong
> impression that this is valid C++ syntax and/or that constuctors may
> have return values ...
More information about the gmp-bugs