[all-commits] [llvm/llvm-project] 0c49fc: [libc][math] Implement nexttoward functions (#72763)
Nishant Mittal via All-commits
all-commits at lists.llvm.org
Tue Nov 21 06:03:05 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0c49fc4c68aff96ebe700d2af50a3c445ee0484e
https://github.com/llvm/llvm-project/commit/0c49fc4c68aff96ebe700d2af50a3c445ee0484e
Author: Nishant Mittal <mittalnishant14 at outlook.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
M libc/config/darwin/arm/entrypoints.txt
M libc/config/darwin/x86_64/entrypoints.txt
M libc/config/gpu/entrypoints.txt
M libc/config/linux/aarch64/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/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/x86_64/NextAfterLongDouble.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/nexttoward.cpp
A libc/src/math/generic/nexttowardf.cpp
A libc/src/math/generic/nexttowardl.cpp
A libc/src/math/nexttoward.h
A libc/src/math/nexttowardf.h
A libc/src/math/nexttowardl.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/NextTowardTest.h
A libc/test/src/math/smoke/nexttoward_test.cpp
A libc/test/src/math/smoke/nexttowardf_test.cpp
A libc/test/src/math/smoke/nexttowardl_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][math] Implement nexttoward functions (#72763)
Implements the `nexttoward`, `nexttowardf` and `nexttowardl` functions.
Also, raise excepts required by the standard in `nextafter` functions.
cc: @lntue
More information about the All-commits
mailing list