math/cmplx: fix typo in code comment

Everywhere else is using "cancellation" as of 2019

The reasoning is mentioned in 170060.

> Though there is variation in the spelling of canceled,
> cancellation is always spelled with a double l.
>
> Reference: https://www.grammarly.com/blog/canceled-vs-cancelled/
This commit is contained in:
Tyson Andre 2020-04-25 16:28:54 -04:00
parent 7ef28cbd12
commit fc3d5ada2b
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ import "math"
// 1/2
// Im w = [ (r - x)/2 ] .
//
// Cancelation error in r-x or r+x is avoided by using the
// Cancellation error in r-x or r+x is avoided by using the
// identity 2 Re w Im w = y.
//
// Note that -w is also a square root of z. The root chosen