[all-commits] [llvm/llvm-project] 7395ef: [libc][math][c23] Add cospif16 function (#113001)

wldfngrs via All-commits all-commits at lists.llvm.org
Tue Oct 29 03:40:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7395ef5419a6438f0c48685bf00b7f151178743d
      https://github.com/llvm/llvm-project/commit/7395ef5419a6438f0c48685bf00b7f151178743d
  Author: wldfngrs <wldfngrs at gmail.com>
  Date:   2024-10-29 (Tue, 29 Oct 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/newhdrgen/yaml/math.yaml
    M libc/src/math/CMakeLists.txt
    A libc/src/math/cospif16.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/cospif16.cpp
    A libc/src/math/generic/sincosf16_utils.h
    M libc/src/math/generic/sinpif16.cpp
    M libc/test/src/math/CMakeLists.txt
    A libc/test/src/math/cospif16_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/cospif16_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp

  Log Message:
  -----------
  [libc][math][c23] Add cospif16 function (#113001)

Implementation of `cos` for half precision floating point inputs scaled
by pi (i.e., `cospi`), correctly rounded for all rounding modes.

---------

Co-authored-by: OverMighty <its.overmighty at gmail.com>



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