#define TTS_ULP_RANGE_CHECK | ( | Producer, | |
RefType, | |||
NewType, | |||
RefFunc, | |||
NewFunc, | |||
Ulpmax | |||
) |
Generate a range based test between two functions.
Evaluates the histogram of ULP difference between two functions run on the same data set and that they lie in a given ULP distance. This comparison is performed by using the proper tts::ulp_distance overload.
Producer | Data set generator to use. |
RefType | Type to use as reference function input. |
NewType | Type to use as challenger function input. |
RefFunc | Reference function to compare to. |
NewFunc | Challenger function to be compared to the reference one. |
Ulpmax | Maximal ULPs acceptable for passing the test. |