6#ifndef CHEBYSHEV_DISTANCE_H
7#define CHEBYSHEV_DISTANCE_H
14 template<
typename Type>
16 return (
x > 0) ?
x : -
x;
26 template<
typename Type =
double>
28 return _internal::abs(b - a);
Type abs_distance(Type a, Type b)
Absolute distance between two real values.
Definition distance.h:27
General namespace of the framework.
Definition benchmark.h:22
constexpr FloatType get_nan()
Get a quiet NaN of the specified floating point type.
Definition common.h:65