rootrem.c (was: GCC 4.3.2 bug)

Vincent Lefevre vincent at vinc17.org
Fri Apr 17 17:25:44 CEST 2009


BTW, this has no effect here, but I would recommend parentheses for
EXTRA in rootrem.c:

#define EXTRA 2 + (mp_size_t) (0.585 * (double) k / (double) GMP_NUMB_BITS)

should be replaced by:

#define EXTRA (2 + (mp_size_t) (0.585 * (double) k / (double) GMP_NUMB_BITS))

-- 
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-discuss mailing list