piranha
0.10

Specialisation of the piranha::math::abs() functor for signed and unsigned integer types, and floatingpoint types. More...
#include <piranha/math.hpp>
Public Member Functions  
auto  operator() (const T &x) const > decltype(impl(x)) 
Call operator. More...  
Specialisation of the piranha::math::abs() functor for signed and unsigned integer types, and floatingpoint types.
This specialisation is activated when T
is a signed or unsigned integer type, or a floatingpoint type. The result will be computed via std::abs()
for floatingpoint and signed integer types, while for unsigned integer types it will be the input value unchanged.

inline 