numeric_limits

Peter Schmid schmid@snake.iap.physik.tu-darmstadt.de
Sun Sep 22 18:18:00 GMT 2002


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



More information about the Libstdc++ mailing list