diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-06-06 00:34:40 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-06-06 00:34:40 +0200 |
commit | b6fe51cd50dd8713d83d89ee1ba30e799164c94e (patch) | |
tree | 04f28a0fab5cedbf9281ac3aab620c0820752215 /gmp-impl.h | |
parent | d3b4ad8d811f8a97565c1f39e80d29fb62f2fe3d (diff) | |
download | gmp-b6fe51cd50dd8713d83d89ee1ba30e799164c94e.tar.gz |
* gmp-h.in (__GMP_LIKELY, __GMP_UNLIKELY): New macros.
* gmp-impl.h (LIKELY, UNLIKELY): Aliases.
Diffstat (limited to 'gmp-impl.h')
-rw-r--r-- | gmp-impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gmp-impl.h b/gmp-impl.h index c0f40fab9..8ebc47151 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -321,6 +321,8 @@ void __gmp_tmp_debug_free _PROTO ((const char *, int, int, /* From gmp.h, nicer names for internal use. */ #define MPN_CMP(result, xp, yp, size) __GMPN_CMP(result, xp, yp, size) +#define LIKELY(cond) __GMP_LIKELY(cond) +#define UNLIKELY(cond) __GMP_UNLIKELY(cond) #define ABS(x) ((x) >= 0 ? (x) : -(x)) #define MIN(l,o) ((l) < (o) ? (l) : (o)) |