[libc++] Fix typo in math special functions

Extracted from #156270

Co-Authored-by: Austin Jiang <austinjiangboyu@gmail.com>
This commit is contained in:
Louis Dionne 2026-01-13 08:44:25 -05:00
parent 9780d421ce
commit 53ad9cdc32

View File

@ -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();