From b639ed5332ddb38b204058189d098dcdbea6d922 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Tue, 15 Aug 2017 12:40:03 -0400 Subject: [PATCH] Hard code year::min(), year::max() to [-32767, 32767] * When year < 0, -year > 0 (always). * These are the minimal limits C places on short. * Reserving -32768 is useful in the implementation. --- date.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/date.html b/date.html index b246235..2b8afc2 100644 --- a/date.html +++ b/date.html @@ -26,7 +26,7 @@

Howard E. Hinnant
-2017-06-12
+2017-08-15

date

@@ -3005,7 +3005,7 @@ static constexpr year year::min() noexcept;

-Returns: year{std::numeric_limits<short>::min()}. +Returns: year{-32767}.

@@ -3015,7 +3015,7 @@ static constexpr year year::max() noexcept;

-Returns: year{std::numeric_limits<short>::max()}. +Returns: year{32767}.