compare float and double