This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: numeric_limits
- From: Peter Schmid <schmid at snake dot iap dot physik dot tu-darmstadt dot de>
- To: <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 23 Sep 2002 03:18:33 +0200 (CEST)
- Subject: Re: numeric_limits
Could you please fix PR libstdc++/7851 and add the missing check for
the wchar_t type to the test suite? This is the remaining
numeric_limits related problem on my computer system
(i686-pc-linux-gnu). The limits facility assumes that the wchar_t type
is unsigned on this target. Since this assumption is false,
numeric_limits<wchar_t>::min() returns 0 and
numeric_limits<wchar_t>::max() returns -1, resulting that the maximum
value is lower than the minimal one. All other problems I encountered
(cf. PR/7753) are fixed. Thank you for fixing this PR. Could you
please close both PRs?
Hope this helps,
Peter Schmid