[all-commits] [llvm/llvm-project] c995db: [libc] Add exceptional values for sinhf16/coshf16 ...

Michael Jones via All-commits all-commits at lists.llvm.org
Tue Mar 25 16:30:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c995db3e3456b422f44f3ad690072bd6359520e3
      https://github.com/llvm/llvm-project/commit/c995db3e3456b422f44f3ad690072bd6359520e3
  Author: Michael Jones <michaelrj at google.com>
  Date:   2025-03-25 (Tue, 25 Mar 2025)

  Changed paths:
    M libc/src/math/generic/coshf16.cpp
    M libc/src/math/generic/sinhf16.cpp

  Log Message:
  -----------
  [libc] Add exceptional values for sinhf16/coshf16 (#133002)

The rounding of the result when using an FMA instruction for hyperbolic
sin/cos on float16 was off by 1 bit for a few cases. This patch adds
extra exceptional cases to handle these.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list