[all-commits] [llvm/llvm-project] a57f4c: [compiler-rt] Fix a bug in fp_div_impl when an int...

lntue via All-commits all-commits at lists.llvm.org
Tue Dec 17 09:25:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a57f4c7009cd5eacc64cc78a1788c87318218d79
      https://github.com/llvm/llvm-project/commit/a57f4c7009cd5eacc64cc78a1788c87318218d79
  Author: lntue <lntue at google.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M compiler-rt/lib/builtins/fp_div_impl.inc
    M compiler-rt/test/builtins/Unit/divdf3_test.c
    M compiler-rt/test/builtins/Unit/divsf3_test.c
    M compiler-rt/test/builtins/Unit/divtf3_test.c

  Log Message:
  -----------
  [compiler-rt] Fix a bug in fp_div_impl when an intermediate result is out of  expected range. (#119449)

Before this fix, `1.0L / (1.0L - 0x1.0p-113L)` will return `2 * (1 +
eps(1))`.



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