This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems with <limit> and nans


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]