Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In Euclidean Vector classes (Vector2D, Vector3D), norm() and distance() rely on Math.sqrt(), which can overflow if the components of the vectors are large. Instead, they should rely on SafeNorm.
Attachments
Issue Links
- is related to
-
NUMBERS-143 Investigate Math.hypot for computing the absolute of a complex number
- Closed
- links to