Skip to content

Commit ced7c17

Browse files
committed
Revert "[libcxx] use __builtin_isnan in std::isnan."
This reverts commit 767eadd.
1 parent 6d75449 commit ced7c17

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

libcxx/include/math.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -510,11 +510,7 @@ _LIBCPP_INLINE_VISIBILITY
510510
bool
511511
__libcpp_isnan(_A1 __lcpp_x) _NOEXCEPT
512512
{
513-
#if __has_builtin(__builtin_isnan)
514-
return __builtin_isnan(__lcpp_x);
515-
#else
516513
return isnan(__lcpp_x);
517-
#endif
518514
}
519515

520516
#undef isnan

0 commit comments

Comments
 (0)