Core: abs(Complex)

git-svn-id: svn://ultimatepp.org/upp/trunk@10479 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-11-22 09:10:56 +00:00
parent d6aa630574
commit 20b71cd9f0

View file

@ -32,6 +32,8 @@ template<> inline String AsString(const Complex& x) { return AsString((const std
template<> inline dword ValueTypeNo(const Complex*) { return COMPLEX_V; }
inline double abs(const Complex& c) { return std::abs(c); }
inline const Complex& Nvl(const Complex& a, const Complex& b) { return IsNull(a) ? b : a; }
template<>