vincent at vinc17.org
Thu Apr 24 13:54:09 CEST 2008
On 2008-04-24 13:31:41 +0200, Torbjorn Granlund wrote:
> "Chris Saunders" <evas at mountaincable.net> writes:
> Just something I think is incorrect in the online documentation:
> URL: http://gmplib.org/manual/Integer-Division.html#Integer-Division
> The line "tdiv rounds q towards zero, and r will have the same sign as n.
> The t stands for "truncate"."
> I think the original text is correct.
BTW, "towards" is correct, but the ISO C and the IEEE-754 standards
use "toward". So, it may be better to use "toward" everywhere in
the GMP documentation, for consistency with other documents (this
is useful e.g. for searching "toward zero").
Vincent Lefèvre <vincent at vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
More information about the gmp-bugs