#define TTS_IEEE_EQUAL | ( | L, | |
R, | |||
... | |||
) | TTS_DO_IEEE_EQUAL(L, R, __VA_ARGS__ ) |
Checks if two values are exactly within a 0 ULP.
This also allow for infinites and NaNs to be compared equal if both values are the same infinites or are both $NaN$. This comparison is performed by using the proper tts::ulp_distance overload.
L,R | Expressions to compare. |
... | Optional tag. If equals to REQUIRED , this test will stop the program if it fails. |