
| -----Original Message----- | From: boost-bounces@lists.boost.org | [mailto:boost-bounces@lists.boost.org] On Behalf Of Thorsten Ottosen | Sent: 07 November 2004 11:13 | To: boost@lists.boost.org | Subject: [boost] Re: Re: Math functions - requirements 'spec' | | Do all reasonable desktop compilers actually go for IEEE 754? Well Dinkumware code used by Microsoft and many others only handles IEEE754. | | Why can't you use std::numeric_limits<F>::is_nan() etc for C++ ? My understanding is that only std::numeric_limits<F>::has_nan() and A value std::numeric_limits<F>::quiet_nan() - interesting but you can't test a NaN by comparing with this! There are tons of possible NaNs :-( are provided, but NOT what you really want is_nan(). But as noted by Hubert Holin, and his reference - this is a mess. Paul Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539 561830 +44 7714 330204 mailto: pbristow@hetp.u-net.com PS to Standards groups - where is this on your agendas?