[all-commits] [llvm/llvm-project] 86b0cc: [libc][NFC] unify nextafter and nexttoward code (#...
michaelrj-google via All-commits
all-commits at lists.llvm.org
Tue Nov 28 15:14:29 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 86b0ccaee12221d088b35b7b57d415ba290fabb9
https://github.com/llvm/llvm-project/commit/86b0ccaee12221d088b35b7b57d415ba290fabb9
Author: michaelrj-google <71531609+michaelrj-google at users.noreply.github.com>
Date: 2023-11-28 (Tue, 28 Nov 2023)
Changed paths:
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/math/generic/nexttoward.cpp
M libc/src/math/generic/nexttowardf.cpp
M libc/src/math/generic/nexttowardl.cpp
Log Message:
-----------
[libc][NFC] unify nextafter and nexttoward code (#73698)
Previously the nextafter and nexttoward implementations were almost
identical, with the exception of whether or not the second argument was
a template or just long double. This patch unifies them by making the
two argument templates independent.
More information about the All-commits
mailing list