|
inlineconstexpr |
Computes the distance of its arguments.
Defined in Header
Parameters
Return value
The value of the distance of the arguments is returned, i.e. eve::abs (x-y)
.
The call saturated(dist)(x, y)
computes a saturated distance. Contrary to the non decorated case, it guarantees that the result is always defined. If \(|x-y|\) is not representable the greatest representable positive value is returned.
Example