Advertisement
froleyks

lglib.c<2>

Aug 11th, 2020
1,372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.50 KB | None | 0 0
  1. #define LT(n) n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n
  2.  
  3. static const char lglfloorldtab[256] =
  4. {
  5. // 0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15
  6.   -1, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3,
  7.   LT(4), LT(5), LT(5), LT(6), LT(6), LT(6), LT(6),
  8.   LT(7), LT(7), LT(7), LT(7), LT(7), LT(7), LT(7), LT(7)
  9. };
  10.  
  11. static const uint64_t lglbasevar2funtab[6] = {
  12.   0xaaaaaaaaaaaaaaaaull, 0xccccccccccccccccull, 0xf0f0f0f0f0f0f0f0ull,
  13.   0xff00ff00ff00ff00ull, 0xffff0000ffff0000ull, 0xffffffff00000000ull,
  14. };
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement