[all-commits] [llvm/llvm-project] b0cd3a: [libc] Remove as_double usage as constant initiali...

lntue via All-commits all-commits at lists.llvm.org
Tue Jan 18 20:49:34 PST 2022


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

  Changed paths:
    M libc/src/math/generic/CMakeLists.txt
    M libc/src/math/generic/math_utils.cpp
    M libc/src/math/generic/sincosf_data.cpp
    M libc/src/math/generic/sincosf_utils.h

  Log Message:
  -----------
  [libc] Remove as_double usage as constant initializations in sincosf implementation.

Use hexadecimal floats with C++17 instead of as_double as floating point constant initializations.

Reviewed By: sivachandra

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




More information about the All-commits mailing list