The norm value of a complex number is its squared magnitude, defined as the addition of the square of both its real and its imaginary part (without the imaginary unit). This is the square of abs(x).
附加重载为任何 基本算术类型 提供:在这种情况下,函数假定该值为零 虚部。 The return type is double, except if the argument is float or long double (in which case, the return type is of the same type as the argument).