mpq_class documentation is not explicit about canonicalization
Marc Glisse
marc.glisse at inria.fr
Mon Feb 15 11:59:06 CET 2010
On Mon, 15 Feb 2010, Torbjorn Granlund wrote:
> Marc Glisse <marc.glisse at inria.fr> writes:
>
> texinfo seems happy with:
>
> @defun mpz_class::mpz_class (type @var{n})
>
> instead of:
>
> @deftypefun void mpz_class::mpz_class (type @var{n})
>
> Not really happy, I would say. The typography gets messed up, at least
> when there is an & in the arguments list.
Indeed, for some reason the & appears bold in the pdf version, I hadn't
noticed (did you notice anything else?). Weird bug.
> My suggested change it attached.
That is actually the first thing I had tried, and what is already done for
gmp_randclass.
> Does it look as you expect?
I tried something else because it leaves a space at the beginning of the
line (between the empty return type and the function name), at least in
some formats (info maybe?).
Still, it looks good enough to me.
--
Marc Glisse
More information about the gmp-bugs
mailing list