diff --git a/libcxx/test/std/language.support/cmp/cmp.alg/compare_strong_order_fallback.pass.cpp b/libcxx/test/std/language.support/cmp/cmp.alg/compare_strong_order_fallback.pass.cpp --- a/libcxx/test/std/language.support/cmp/cmp.alg/compare_strong_order_fallback.pass.cpp +++ b/libcxx/test/std/language.support/cmp/cmp.alg/compare_strong_order_fallback.pass.cpp @@ -348,10 +348,10 @@ // at compile-time, so the NAN-related tests must be runtime-only. if (!std::is_constant_evaluated()) { - F nq = _VSTD::copysign(std::numeric_limits::quiet_NaN(), F(-1)); - F ns = _VSTD::copysign(std::numeric_limits::signaling_NaN(), F(-1)); - F ps = _VSTD::copysign(std::numeric_limits::signaling_NaN(), F(+1)); - F pq = _VSTD::copysign(std::numeric_limits::quiet_NaN(), F(+1)); + F nq = std::copysign(std::numeric_limits::quiet_NaN(), F(-1)); + F ns = std::copysign(std::numeric_limits::signaling_NaN(), F(-1)); + F ps = std::copysign(std::numeric_limits::signaling_NaN(), F(+1)); + F pq = std::copysign(std::numeric_limits::quiet_NaN(), F(+1)); assert(std::compare_strong_order_fallback(nq, nq) == std::strong_ordering::equal); #ifndef TEST_BUGGY_SIGNALING_NAN diff --git a/libcxx/test/std/language.support/cmp/cmp.alg/compare_weak_order_fallback.pass.cpp b/libcxx/test/std/language.support/cmp/cmp.alg/compare_weak_order_fallback.pass.cpp --- a/libcxx/test/std/language.support/cmp/cmp.alg/compare_weak_order_fallback.pass.cpp +++ b/libcxx/test/std/language.support/cmp/cmp.alg/compare_weak_order_fallback.pass.cpp @@ -347,10 +347,10 @@ // at compile-time, so the NAN-related tests must be runtime-only. if (!std::is_constant_evaluated()) { - F nq = _VSTD::copysign(std::numeric_limits::quiet_NaN(), F(-1)); - F ns = _VSTD::copysign(std::numeric_limits::signaling_NaN(), F(-1)); - F ps = _VSTD::copysign(std::numeric_limits::signaling_NaN(), F(+1)); - F pq = _VSTD::copysign(std::numeric_limits::quiet_NaN(), F(+1)); + F nq = std::copysign(std::numeric_limits::quiet_NaN(), F(-1)); + F ns = std::copysign(std::numeric_limits::signaling_NaN(), F(-1)); + F ps = std::copysign(std::numeric_limits::signaling_NaN(), F(+1)); + F pq = std::copysign(std::numeric_limits::quiet_NaN(), F(+1)); assert(std::compare_weak_order_fallback(nq, nq) == std::weak_ordering::equivalent); assert(std::compare_weak_order_fallback(nq, ns) == std::weak_ordering::equivalent);