use cc provided xlog2 instead of system log2.
(on plan 9 cc calls it log2, but that conflicts here.) the difference is that xlog2 returns -1 on non powers of 2. 8c was rewriting /10 into /8. R=ken OCL=29968 CL=29968
Showing
Please
register
or
sign in
to comment