[all-commits] [llvm/llvm-project] bb8f25: [libc] Add implementations of ldexp[f|l].

Siva Chandra via All-commits all-commits at lists.llvm.org
Tue Nov 17 15:06:15 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bb8f2585c6eab263916757435d71df16d92de4a8
      https://github.com/llvm/llvm-project/commit/bb8f2585c6eab263916757435d71df16d92de4a8
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    A libc/src/math/ldexp.cpp
    A libc/src/math/ldexp.h
    A libc/src/math/ldexpf.cpp
    A libc/src/math/ldexpf.h
    A libc/src/math/ldexpl.cpp
    A libc/src/math/ldexpl.h
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/LdExpTest.h
    A libc/test/src/math/ldexp_test.cpp
    A libc/test/src/math/ldexpf_test.cpp
    A libc/test/src/math/ldexpl_test.cpp
    M libc/utils/FPUtil/ManipulationFunctions.h
    M libc/utils/FPUtil/NormalFloat.h

  Log Message:
  -----------
  [libc] Add implementations of ldexp[f|l].

The rounding behavior of NormalFloat to float format has been changed
to round to nearest. Also, a bug in NormalFloat to subnormal number
conversion has been fixed.

Reviewed By: lntue

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




More information about the All-commits mailing list