#define TTS_ULP_EQUAL | ( | L, | |
R, | |||
N, | |||
... | |||
) | TTS_PRECISION(L,R,N,"ULP" , ::tts::ulp_distance , 2, __VA_ARGS__ ) |
Checks if two values are within a given ULP distance.
This comparison is performed by using the proper tts::ulp_distance overload.
L,R | Expressions to compare. |
N | Maximum ULPs accepted between L and R . |
... | Optional tag. If equals to REQUIRED , this test will stop the program if it fails. |