diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-06-17 22:49:30 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-06-18 06:24:33 +0200 |
commit | 3fc41a91ce3bd9d6756905809e261499a51d9774 (patch) | |
tree | b5af173e51b057e835129189464a97ad56d4f466 /Makefile.fetch | |
parent | a78510ab673dd0d827efeb00873d5d9137813be7 (diff) |
Use std::fesetround / std::nearbyint for half-to-even rounding
C++ floating-point environment has thread storage duration, so
std::fesetround call is thread-safe.
std::nearbyint uses half-to-even rounding with FE_TONEAREST,
as specified in ISO/IEC 9899:1999 F.3, and in Appendix to
ANSI/IEEE 854.
Change-Id: I26995842c30e2663b40af5b5314791c1328037d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117307
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'Makefile.fetch')
0 files changed, 0 insertions, 0 deletions