This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Ugh, it should be ~(f - 1).+/* Truncate IN to a multiple of F, where F is a power of two. */ >>+#define TRUNCATE_TO_MUL(in, f) ((in) & ~(f))> >Err, ~f? Either this doesn't work at all, or the comment is wrong.
Er... we are talking about in % f, when we can't necessarily prove that F is a power of 2?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |