summaryrefslogtreecommitdiff
path: root/mpz/tdiv_r_ui.c
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2012-05-23 23:21:13 +0200
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2012-05-23 23:21:13 +0200
commitae7cbcdb411f86c4e11e4c3da21a4968b97f2858 (patch)
treee34aba63c1746bf8e84c46f43ba3f16fc5f0cb5e /mpz/tdiv_r_ui.c
parent9a031234bde3abdee5de779604feab6e30abb0fb (diff)
downloadgmp-ae7cbcdb411f86c4e11e4c3da21a4968b97f2858.tar.gz
Mark failing branches with UNLIKELY.
Diffstat (limited to 'mpz/tdiv_r_ui.c')
-rw-r--r--mpz/tdiv_r_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/tdiv_r_ui.c b/mpz/tdiv_r_ui.c
index 64a8b94d1..efbf44b91 100644
--- a/mpz/tdiv_r_ui.c
+++ b/mpz/tdiv_r_ui.c
@@ -29,7 +29,7 @@ mpz_tdiv_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);