diff options
author | offtkp <parisoplop@gmail.com> | 2022-03-24 11:32:24 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-03-28 11:43:28 +0200 |
commit | ab9896bfda4d2ef16f3cbb373edced33f9021492 (patch) | |
tree | 4adab1cc2d1be48c9d2b83f8e2937e2a0201190c /sw | |
parent | 2f2df626117380427d2e5e8417316f52823f1e6f (diff) |
tdf#147906 change all sqrt(a * a + b * b) occurences to std::hypot(a, b)
Other changes:
In Splines.cxx, no longer divides dx, dy with fDiffMax because we
switched to std::hypot, and hypot avoids intermediate overflows.
Change-Id: I8c459a0e56deb86606fc9b1bf3e68b132a60705d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132073
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw')
0 files changed, 0 insertions, 0 deletions