add f to float and fix a - b > FLOAT_ACCURACY