Advertisement
Guest User

Untitled

a guest
May 24th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. #define BLOCK_LOW(i,p,n) (i)*(n)/(p)
  2. #define BLOCK_HIGH(i,p,n) (BLOCK_LOW((i)+1,p,n)-1)
  3. #define BLOCK_SIZE(i,p,n) (BLOCK_LOW((i)+1,p,n)-BLOCK_LOW(i,p,n))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement