Compute the distance in ULP between two values.
This function can be overloaded in the tts namespace to compute the distance in ULP for external types.