
Paul A Bristow wrote:
I have also re-tested this on VS 2005 release :-(((
My test and/or memory was obviously faulty.
Using 100 tests with nextafter, starting with the value you found faulty, I find 38 failures (all one bit wrong on input) - about the one third I found in previous tests.
So I confirm my view that this is a Microsoft 'Lack Of Quality Feature'.
To be fair, this is a rather hard problem, though there are proven solutions which have been proposed, but not widely implemented, as I asked about and got some info on a recent post.
lists.boost.org/Archives/boost/2006/02/date.php
But I fear that this does NOT help you just now. Sorry.
I am having a crack at using the Burger and Dvbvig method but have yet to fully understand it.
OK, thanks for your investigations. I have a workaround but it would be better if it just worked, of course. Paul