Function to determine if a two floating points values differ