xte ::big_int <T >::abs ()
Defined in header <xte/math/big_int.hpp> Definition
Computes the absolute value of the big-integer.[[nodiscard ]]constexpr auto abs (this auto&& )XTE_ARROW (/* ... */ )
Example
[View in Compiler Explorer]static_assert (xte ::big_int (-123 ).abs () ==123 );