Remove unused float helpers
This commit is contained in:
parent
d8bd8c2beb
commit
65dcf2678b
|
@ -31,10 +31,8 @@ typedef intptr_t fixnum_t;
|
||||||
|
|
||||||
#define LOG2_10 3.3219280948873626
|
#define LOG2_10 3.3219280948873626
|
||||||
#define sign_bit(r) ((*(int64_t *)&(r)) & INT64_TOP_BIT)
|
#define sign_bit(r) ((*(int64_t *)&(r)) & INT64_TOP_BIT)
|
||||||
#define NBABS(n, nb) (((n) ^ ((n) >> ((nb)-1))) - ((n) >> ((nb)-1)))
|
|
||||||
#define DFINITE(d) \
|
#define DFINITE(d) \
|
||||||
(((*(int64_t *)&(d)) & 0x7ff0000000000000LL) != 0x7ff0000000000000LL)
|
(((*(int64_t *)&(d)) & 0x7ff0000000000000LL) != 0x7ff0000000000000LL)
|
||||||
#define DNAN(d) ((d) != (d))
|
|
||||||
|
|
||||||
#define __unlikely(x) __builtin_expect(!!(x), 0)
|
#define __unlikely(x) __builtin_expect(!!(x), 0)
|
||||||
#define __likely(x) __builtin_expect(!!(x), 1)
|
#define __likely(x) __builtin_expect(!!(x), 1)
|
||||||
|
|
Loading…
Reference in New Issue