mpq_class documentation is not explicit about canonicalization
gsauthof at techfak.uni-bielefeld.de
gsauthof at techfak.uni-bielefeld.de
Mon Feb 8 21:27:39 CET 2010
Hi,
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.
[1]
Please add a sentence, which clarifies the description.
Best regards
Georg
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 ...
[1] http://gmplib.org/manual/C_002b_002b-Interface-Rationals.html#C_002b_002b-Interface-Rationals
--
'Everything is subjective' (Limits of Control, 2009)
More information about the gmp-bugs
mailing list