[all-commits] [llvm/llvm-project] c11aca: [libc][math][c++23] Add {frexp, ilogb, ldexp, llogb, l...

Krishna Pandey via All-commits all-commits at lists.llvm.org
Sun Aug 24 23:16:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c11acac4dca452103c1f4c2a449dd89626845326
      https://github.com/llvm/llvm-project/commit/c11acac4dca452103c1f4c2a449dd89626845326
  Author: Krishna Pandey <kpandey81930 at gmail.com>
  Date:   2025-08-25 (Mon, 25 Aug 2025)

  Changed paths:
    M libc/config/baremetal/aarch64/entrypoints.txt
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt
    M libc/config/darwin/aarch64/entrypoints.txt
    M libc/config/darwin/x86_64/entrypoints.txt
    M libc/config/gpu/amdgpu/entrypoints.txt
    M libc/config/gpu/nvptx/entrypoints.txt
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/config/windows/entrypoints.txt
    M libc/docs/headers/math/index.rst
    M libc/src/__support/FPUtil/BasicOperations.h
    M libc/src/__support/FPUtil/bfloat16.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/frexpbf16.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/frexpbf16.cpp
    A libc/src/math/generic/ilogbbf16.cpp
    A libc/src/math/generic/ldexpbf16.cpp
    A libc/src/math/generic/llogbbf16.cpp
    A libc/src/math/generic/logbbf16.cpp
    A libc/src/math/ilogbbf16.h
    A libc/src/math/ldexpbf16.h
    A libc/src/math/llogbbf16.h
    A libc/src/math/logbbf16.h
    M libc/test/src/math/smoke/CMakeLists.txt
    M libc/test/src/math/smoke/LdExpTest.h
    A libc/test/src/math/smoke/frexpbf16_test.cpp
    A libc/test/src/math/smoke/ilogbbf16_test.cpp
    A libc/test/src/math/smoke/ldexpbf16_test.cpp
    A libc/test/src/math/smoke/llogbbf16_test.cpp
    A libc/test/src/math/smoke/logbbf16_test.cpp

  Log Message:
  -----------
  [libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math functions (#154427)

This PR adds the following basic math functions for BFloat16 type along
with the tests:
- frexpbf16
- ilobbf16
- ldexpbf16
- llogbbf16
- logbbf16

---------

Signed-off-by: Krishna Pandey <kpandey81930 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