Skip to content

Commit f41550a

Browse files
authored
Merge pull request #1523 from hyp/revert-isnan-change
Revert "[libcxx] use __builtin_isnan in std::isnan."
2 parents 99855ff + ced7c17 commit f41550a

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)