$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2003-07-04 11:20:04
"Toon Knapen" <toon.knapen_at_[hidden]> writes:
| > 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 ?
If v is a signalling NaN, and you're for example using the SPARC
architecture for example, you might get a trap.
-- Gaby