[libcxx-commits] [libcxx] 53ad9cd - [libc++] Fix typo in math special functions
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 13 05:47:38 PST 2026
Author: Louis Dionne
Date: 2026-01-13T08:47:09-05:00
New Revision: 53ad9cdc32b7e6935bb1f2314acf42e678463104
URL: https://github.com/llvm/llvm-project/commit/53ad9cdc32b7e6935bb1f2314acf42e678463104
DIFF: https://github.com/llvm/llvm-project/commit/53ad9cdc32b7e6935bb1f2314acf42e678463104.diff
LOG: [libc++] Fix typo in math special functions
Extracted from #156270
Co-Authored-by: Austin Jiang <austinjiangboyu at gmail.com>
Added:
Modified:
libcxx/include/__math/special_functions.h
Removed:
################################################################################
diff --git a/libcxx/include/__math/special_functions.h b/libcxx/include/__math/special_functions.h
index 0b1c753a659ad..6b217852e2f8c 100644
--- a/libcxx/include/__math/special_functions.h
+++ b/libcxx/include/__math/special_functions.h
@@ -49,7 +49,7 @@ _LIBCPP_HIDE_FROM_ABI _Real __hermite(unsigned __n, _Real __x) {
}
if (!__math::isfinite(__H_n)) {
- // Overflow occured. Two possible cases:
+ // Overflow occurred. Two possible cases:
// n is odd: return infinity of the same sign as x.
// n is even: return +Inf
_Real __inf = std::numeric_limits<_Real>::infinity();
More information about the libcxx-commits
mailing list