This website requires JavaScript.
Explore
Help
Register
Sign In
enlightenment
/
terminology
Watch
9
Star
6
Fork
You've already forked terminology
7
Code
Issues
7
Pull Requests
Projects
Releases
Wiki
Activity
69eb930f97
terminology
/
scripts
/
coccinelle
/
div_round_up.cocci
12 lines
116 B
Plaintext
Raw
Blame
History
@@
expression n, d;
@@
(
- (((n + d) - 1) / d)
+ DIV_ROUND_UP(n, d)
|
- ((n + (d - 1)) / d)
+ DIV_ROUND_UP(n, d)
)
Reference in New Issue
View Git Blame
Copy Permalink