mpq_class documentation is not explicit about canonicalization

gsauthof at gsauthof at
Mon Feb 8 21:27:39 CET 2010


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.

Please add a sentence, which clarifies the description.

Best regards

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 ...

'Everything is subjective' (Limits of Control, 2009)

More information about the gmp-bugs mailing list