gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 3 of 3 for fundef:roundup (0.01 seconds)
t2ex
bsd_source/lib/libc/src_bsd/include/sys/param.h - 10.3KB - 258 lines
185: #endif
186: #define roundup(x, y)   ((((x)+((y)-1))/(y))*(y))
187: #define powerof2(x)     ((((x)-1)&(x))==0)
bsd_source/lib/libc/src_bsd/stdlib/hdtoa.c - 11.0KB - 332 lines
48: static int
49: roundup(char *s0, int ndigits)
50: {
bsd_source/t2ex/network/net/src_bsd/sys/param.h - 14.9KB - 442 lines
337: #endif
338: #define roundup(x, y)   ((((x)+((y)-1))/(y))*(y))
339: #define rounddown(x,y)  (((x)/(y))*(y))