[all-commits] [llvm/llvm-project] 52340a: [libc][math] Refactor round-roundeven-trunc family...

Anonmiraj via All-commits all-commits at lists.llvm.org
Mon May 4 00:19:58 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52340a4fa0a823e9315745c8eaac84da7613f2b8
      https://github.com/llvm/llvm-project/commit/52340a4fa0a823e9315745c8eaac84da7613f2b8
  Author: Anonmiraj <ezzibrahimx at gmail.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M libc/shared/math.h
    A libc/shared/math/round.h
    A libc/shared/math/roundbf16.h
    A libc/shared/math/roundeven.h
    A libc/shared/math/roundevenbf16.h
    A libc/shared/math/roundevenf.h
    A libc/shared/math/roundevenf128.h
    A libc/shared/math/roundevenf16.h
    A libc/shared/math/roundevenl.h
    A libc/shared/math/roundf.h
    A libc/shared/math/roundf128.h
    A libc/shared/math/roundf16.h
    A libc/shared/math/roundl.h
    A libc/shared/math/trunc.h
    A libc/shared/math/truncbf16.h
    A libc/shared/math/truncf.h
    A libc/shared/math/truncf128.h
    A libc/shared/math/truncf16.h
    A libc/shared/math/truncl.h
    M libc/src/__support/math/CMakeLists.txt
    A libc/src/__support/math/round.h
    A libc/src/__support/math/roundbf16.h
    A libc/src/__support/math/roundeven.h
    A libc/src/__support/math/roundevenbf16.h
    A libc/src/__support/math/roundevenf.h
    A libc/src/__support/math/roundevenf128.h
    A libc/src/__support/math/roundevenf16.h
    A libc/src/__support/math/roundevenl.h
    A libc/src/__support/math/roundf.h
    A libc/src/__support/math/roundf128.h
    A libc/src/__support/math/roundf16.h
    A libc/src/__support/math/roundl.h
    A libc/src/__support/math/trunc.h
    A libc/src/__support/math/truncbf16.h
    A libc/src/__support/math/truncf.h
    A libc/src/__support/math/truncf128.h
    A libc/src/__support/math/truncf16.h
    A libc/src/__support/math/truncl.h
    M libc/src/math/generic/CMakeLists.txt
    M libc/src/math/generic/round.cpp
    M libc/src/math/generic/roundbf16.cpp
    M libc/src/math/generic/roundeven.cpp
    M libc/src/math/generic/roundevenbf16.cpp
    M libc/src/math/generic/roundevenf.cpp
    M libc/src/math/generic/roundevenf128.cpp
    M libc/src/math/generic/roundevenf16.cpp
    M libc/src/math/generic/roundevenl.cpp
    M libc/src/math/generic/roundf.cpp
    M libc/src/math/generic/roundf128.cpp
    M libc/src/math/generic/roundf16.cpp
    M libc/src/math/generic/roundl.cpp
    M libc/src/math/generic/trunc.cpp
    M libc/src/math/generic/truncbf16.cpp
    M libc/src/math/generic/truncf.cpp
    M libc/src/math/generic/truncf128.cpp
    M libc/src/math/generic/truncf16.cpp
    M libc/src/math/generic/truncl.cpp
    M libc/test/shared/CMakeLists.txt
    M libc/test/shared/shared_math_constexpr_test.cpp
    M libc/test/shared/shared_math_test.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc][math] Refactor round-roundeven-trunc family to header-only (#195590)

Refactors the round-roundeven-trunc math family to be header-only.

part of: #147386

Target Functions:
  - round
  - roundbf16
  - roundf
  - roundf128
  - roundf16
  - roundl
  - roundeven
  - roundevenbf16
  - roundevenf
  - roundevenf128
  - roundevenf16
  - roundevenl
  - trunc
  - truncbf16
  - truncf
  - truncf128
  - truncf16
  - truncl



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