• Russ Cox's avatar
    use cc provided xlog2 instead of system log2. · 8720b472
    Russ Cox authored
    (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
    8720b472
cgen.c 32.8 KB