updated bits.c

all but floats done