Defined in header <complex> template< class T >
T norm( const complex<T>& z ); (1) long double norm( long double z ); (2) (since C++11) template< class DoubleOrInteger >
double norm( DoubleOrInteger z ); (3) (since C++11) float norm( float z ); (4) (since C++11)
Returns the squared magnitude of the complex number z.
(since C++11)Additional overloads are provided for float, double, long double, and all integer types, which are treated