fabs
template<class T>
complex<T> fabs(complex<T>& x);The fabs function computes the complex absolute value of x.
From z/OS® V1R13
XL C/C++, you
can use C99 library facilities in your C++ code. This new TR1 template
function fabs produces the same results as the
existing C99 functions, as indicated in the following table.
| TR1 template function | Corresponding C99 function |
|---|---|
|
|
|
|
|
|
Note: To enable the TR1 headers, you must define
the macro __IBMCPP_TR1__ as 1.