Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return (input + 7) & ~7;
- return (input + 8) & ~7;
- static inline int round_up_to_multiple_of_8 (int v)
- {
- return (v|7)+1;
- }
- int roundUp(int input, int round)
- {
- return input + round - (input % round);
- }
Add Comment
Please, Sign In to add comment