mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
Core: abs(Complex)
git-svn-id: svn://ultimatepp.org/upp/trunk@10479 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d6aa630574
commit
20b71cd9f0
1 changed files with 2 additions and 0 deletions
|
|
@ -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<>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue