10 #ifndef LARDATAALG_UTILITIES_CONSTEXPR_MATH_H 11 #define LARDATAALG_UTILITIES_CONSTEXPR_MATH_H 40 constexpr
auto abs(T v)
42 return (-T(0) < v) ? v : -v;
51 #endif // LARDATAALG_UTILITIES_CONSTEXPR_MATH_H Namespace for general, non-LArSoft-specific utilities.
constexpr auto abs(T v)
Returns the absolute value of the argument.