Comparison of floats with more ULPs
The assert_array_max_ulp()
function allows you to specify an upper bound for the number of ULPs you would allow. The maxulp
parameter accepts an integer value for the limit. The value of this parameter is 1 by default.