norm method

num norm()

Returns the squared magnitude.

Implementation

num norm() => a * a + b * b;