Tests if two floating point numbers overlap