Date: 2002-02-08 02:32:18
I have been looking at why limits_test.cpp fails under MSVC6
Two reasons. A) it cannot compile the explicit specialisations for
B) The compilers incorrect handling of comparissons IEC559 non numbers
at runtime. Apparently this is fixed in VC7!
At the same time I notice some interesting pieces of unused code that
appear to have been in since version 1.2 of the file.
// The following tests may cause arithmetic traps.
// BOOST_TEST(! (qnan < 42));
// BOOST_TEST(! (qnan > 42));
// BOOST_TEST(! (qnan <= 42));
// BOOST_TEST(! (qnan >= 42));
The later interest me. Is there a technical reason in the current
automated testing system why they cannot be reinstated? If they can I
would like to extend the test to include all the IEC non-number values
including Infinities etc.
Michael Stevens, Senior Research Engineer
Australian Centre for Field Robotics
Tel: +61 2 93512075 Fax: +61 2 93517474
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk