This website works better with JavaScript
Inicio
Explorar
Ayuda
Iniciar sesión
piros
/
tor
Seguir
3
Destacar
0
Fork
0
Archivos
Incidencias
0
Pull Requests
0
Wiki
Explorar el Código
Add Coccinelle patch for detecing places where CEIL_DIV should be used.
Alexander Færøy
hace 7 años
padre
7c3e980fb9
commit
25eaf77033
Se han
modificado 1 ficheros
con
6 adiciones
y
0 borrados
Unificar vista
Mostrar estadísticas de diff
6
0
scripts/coccinelle/ceil_div.cocci
+ 6
- 0
scripts/coccinelle/ceil_div.cocci
Ver fichero
@@ -0,0 +1,6 @@
+@@
+expression n, d;
+@@
+
+- (((n) + (d) - 1) / (d))
++ CEIL_DIV(n, d)