This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Problems with <limit> and nans
- To: Peter Schmid <schmid at snake dot iap dot physik dot tu-darmstadt dot de>
- Subject: Re: Problems with <limit> and nans
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 01 May 2001 08:35:52 +0200
- Cc: libstdc++ at gcc dot gnu dot org
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <Pine.LNX.4.21.0105010159280.17255-100000@snake.iap.physik.tu-darmstadt.de>
Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> writes:
| There are problems with the <limits> header and nans. Running the executable
| generated by compiling the file tl.C by gcc 3.1 extracted from the file
| lib/config/limits_test.cpp from boost version 1.21.2 shows that the
| implementation of the <limits> header file is not standard conforming
| (there is also a comment in the header stressing this fact). Are there
| any plans of adding this functionality in the near future?
Yes, there is work being done.
Note however that having NaN is not a conformance test. So two
conformant implementations can give different answers. The most
important thing to test before taking any action is iec_559.
-- Gaby