diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2012-05-23 23:21:13 +0200 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2012-05-23 23:21:13 +0200 |
commit | ae7cbcdb411f86c4e11e4c3da21a4968b97f2858 (patch) | |
tree | e34aba63c1746bf8e84c46f43ba3f16fc5f0cb5e /mpz/cdiv_r_ui.c | |
parent | 9a031234bde3abdee5de779604feab6e30abb0fb (diff) | |
download | gmp-ae7cbcdb411f86c4e11e4c3da21a4968b97f2858.tar.gz |
Mark failing branches with UNLIKELY.
Diffstat (limited to 'mpz/cdiv_r_ui.c')
-rw-r--r-- | mpz/cdiv_r_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/cdiv_r_ui.c b/mpz/cdiv_r_ui.c index e889d742a..721de29f1 100644 --- a/mpz/cdiv_r_ui.c +++ b/mpz/cdiv_r_ui.c @@ -31,7 +31,7 @@ mpz_cdiv_r_ui (mpz_ptr rem, mpz_srcptr dividend, unsigned long int divisor) mp_ptr np; mp_limb_t rl; - if (divisor == 0) + if (UNLIKELY (divisor == 0)) DIVIDE_BY_ZERO; ns = SIZ(dividend); |