Make conjugateComlex and sign constexpr
1 unresolved thread
1 unresolved thread
This MR marks two simple functions from math.hh
as constexpr
. The type std::complex
provides since c++20 also constexpr
members.
Merge request reports
Activity
requested review from @santiago.ospina
assigned to @simon.praetorius
177 177 178 178 //! Return the sign of the value 179 179 template <class T> 180 int sign(const T& val) 180 constexpr int sign(const T& val) mentioned in commit d46fc4f1
Please register or sign in to reply