added floating point compare functions