Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2003-07-04 08:14:26


> seems like this code
>
> template< typename T >
> bool is_nan( const T& v )
> {
> return std::numeric_limits<T>::has_quiet_NaN && (v != v);
> }
>
> does not work correctly on some machines.

Could you be more specific. On which machines for instance ?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk