All pastes #901701 Raw Edit

Miscellany

public c v1 · immutable
·published 2008-02-12 21:37 UTC
rendered paste body
int fixed(unsigned char i){        return i & FIXMASK;}void fix(unsigned char *i){        *i |= FIXMASK;}void printmatrix(unsigned char matrix[NinN][NinN]){        int i,j;        for (i = 0; i < NinN; i++){                for (j = 0; j < NinN; j++)                        printf("%d ", matrix[i][j] & ~FIXMASK);                printf("\n");        }}