Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9b9d774b authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

common/include: Add a ceil function

parent 6b193b53
No related branches found
No related tags found
1 merge request!256Update on descriptors
......@@ -126,6 +126,10 @@ static inline int chameleon_min( int a, int b ) {
if ( a < b ) return a; else return b;
}
static inline int chameleon_ceil( int a, int b ) {
return ( a + b - 1 ) / b;
}
typedef double cham_fixdbl_t;
END_C_DECLS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment