mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-01-13 09:42:05 +05:30
opt_int_div.h: fix macro OPT_INT_DIV_ROUNDING
This commit is contained in:
parent
4ea244ca91
commit
195e1c177b
@ -16,7 +16,7 @@
|
||||
// constants
|
||||
#define OPT_INT_DIV_ROUNDING \
|
||||
/* 10^OPT_INT_DIV_TEST_PRECISION */ \
|
||||
powl(10.l, (long double) OPT_INT_DIV_TEST_PRECISION) \
|
||||
powl(10.l, (long double) OPT_INT_DIV_TEST_PRECISION)
|
||||
|
||||
// helper functions
|
||||
#define INT_BIN_DIV(a, b) ((a) >> (uintmax_t) log2l((b)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user