udiv_qrnnd_preinv and udiv_rnnd_preinv macros

Niels Möller nisse at lysator.liu.se
Mon Feb 28 15:57:36 CET 2011


Torbjorn Granlund <tg at gmplib.org> writes:

> So, remove CNST_LIMB if is uses safely.  Consider using a cast inside
> the function if needed.

I think it's safe. It's used as an argument to add_ssaaaa, and in the
expression (nl) - _qh * (d). In both cases, it ought to be promoted to
mp_limb_t.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.


More information about the gmp-devel mailing list