![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
| arene::base::math::ARENE_CPP14_INLINE_VARIABLE | ( | abs_detail::abs_impl | , |
| abs | ) |
Obtain the absolute value using a member function, an ADL overload, or arene::base::abs.
| arene::base::math::ARENE_CPP14_INLINE_VARIABLE | ( | complex_decomp_detail::imag_impl | , |
| imag | ) |
Extract the imaginary part of a value, returning zero when no imag function exists.
| arene::base::math::ARENE_CPP14_INLINE_VARIABLE | ( | complex_decomp_detail::real_impl | , |
| real | ) |
Extract the real part of a value, treating the whole value as real when no real function exists.
|
constexpr |
Determine if a type models a complex number or not.
| T | The type to check |
Equal to true if either T has member functions real and imag or there are free functions real(T) and imag(T) which can be found by argument-dependent lookup. Otherwise equal to false.