[all-commits] [llvm/llvm-project] aad045: [libc] Implement correct rounding with all roundin...

lntue via All-commits all-commits at lists.llvm.org
Thu Jan 20 10:34:00 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aad04534c41979fe04d7b4bad70de95c7ba646a1
      https://github.com/llvm/llvm-project/commit/aad04534c41979fe04d7b4bad70de95c7ba646a1
  Author: Tue Ly <lntue at google.com>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    M libc/src/__support/FPUtil/Hypot.h
    M libc/src/math/generic/CMakeLists.txt
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/HypotTest.h
    M libc/test/src/math/differential_testing/CMakeLists.txt
    A libc/test/src/math/hypotf_hard_to_round.h
    M libc/test/src/math/hypotf_test.cpp

  Log Message:
  -----------
  [libc] Implement correct rounding with all rounding modes for hypot functions.

Update the rounding logic for generic hypot function so that it will round correctly with all rounding modes.

Reviewed By: sivachandra, zimmermann6

Differential Revision: https://reviews.llvm.org/D117590




More information about the All-commits mailing list