[all-commits] [llvm/llvm-project] bb6966: [libc] Return correct values for hypot when overfl...
lntue via All-commits
all-commits at lists.llvm.org
Wed Sep 7 16:23:42 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bb6966aa5340609dc5144b9f496f548bc53f7e60
https://github.com/llvm/llvm-project/commit/bb6966aa5340609dc5144b9f496f548bc53f7e60
Author: Tue Ly <lntue at google.com>
Date: 2022-09-07 (Wed, 07 Sep 2022)
Changed paths:
M libc/src/__support/FPUtil/Hypot.h
M libc/test/src/math/HypotTest.h
Log Message:
-----------
[libc] Return correct values for hypot when overflowed.
Hypot incorrectly returns +Inf when overflowed with FE_DOWNWARD and
FE_TOWARDZERO rounding modes.
Reviewed By: sivachandra, zimmermann6
Differential Revision: https://reviews.llvm.org/D133370
More information about the All-commits
mailing list