liujiayi771 commented on PR #43711: URL: https://github.com/apache/spark/pull/43711#issuecomment-1803054998
The potential side effect of this modification is that it is easier to obtain a finite number for `sqrt(xMk * yMk)`, while `sqrt(xMk) * sqrt(yMk)` can easily result in an infinite number, for example, ```java Math.sqrt(2 * 2) = 2.0 Math.sqrt(2) * Math.sqrt(2) = 2.0000000000000004 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
