[all-commits] [llvm/llvm-project] 1f3f90: [libc] Make log2f correctly rounded for all roundi...

lntue via All-commits all-commits at lists.llvm.org
Thu Jan 20 13:16:33 PST 2022


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

  Changed paths:
    M libc/src/math/generic/log2f.cpp
    M libc/test/src/math/log2f_test.cpp

  Log Message:
  -----------
  [libc] Make log2f correctly rounded for all rounding modes when FMA is not available.

Add to log2f 2 more exceptional cases got when not using fma for polyeval.

Reviewed By: sivachandra

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




More information about the All-commits mailing list