diff --git a/xml/issue3503.xml b/xml/issue3503.xml index 87f86d4b05..72ac97ae27 100644 --- a/xml/issue3503.xml +++ b/xml/issue3503.xml @@ -142,7 +142,7 @@ The least result `t` representable in `ToDuration` for which
auto t = duration_cast<ToDuration>(d);
if constexpr (treat_as_floating_point_v<typename ToDuration::rep>)
return t;
-else if (t <= d)
+else if (t >= d)
return t;
else
return ++t;