We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9665be4 commit e1630fdCopy full SHA for e1630fd
jsrc/j.h
@@ -290,17 +290,19 @@ static inline omp_int_t omp_get_num_threads() { return 1;}
290
#else
291
#define common(x) likely(x)
292
#define uncommon(x) unlikely(x)
293
-#define withprob(x,p) x
+#define withprob(x,p) (x)
294
#endif
295
296
297
298
299
300
301
#define likely(x) (!!(x))
302
#define unlikely(x) (!!(x))
303
#define common(x) (!!(x))
304
#define uncommon(x) (!!(x))
305
306
307
308
#include <stdint.h>
0 commit comments