comparison threshold of floats is now depending on the machine precision