Guillaume Melquiond <[EMAIL PROTECTED]> writes:
| On 4 Jul 2003, Gabriel Dos Reis wrote:
|
| > "Toon Knapen" <[EMAIL PROTECTED]> writes:
| >
| > | > seems like this code
| > | >
| > | > template< typename T >
| > | > bool is_nan( const T& v )
| > | > {
| > | > return std::nume
On Fri, 4 Jul 2003, jvd wrote:
> [snip]
>
> > > does not work correctly on some machines.
> >
> > Could you be more specific. On which machines for instance ?
>
> Me, myself personally tested on Intel Celeron 733, OS WinXP.
> Compiler used: gcc 3.2 mingw port for windows.
>
> Also reported not to
On 4 Jul 2003, Gabriel Dos Reis wrote:
> "Toon Knapen" <[EMAIL PROTECTED]> writes:
>
> | > seems like this code
> | >
> | > template< typename T >
> | > bool is_nan( const T& v )
> | > {
> | > return std::numeric_limits::has_quiet_NaN && (v != v);
> | > }
> | >
> | > does n
[snip]
> > does not work correctly on some machines.
>
> Could you be more specific. On which machines for instance ?
Me, myself personally tested on Intel Celeron 733, OS WinXP.
Compiler used: gcc 3.2 mingw port for windows.
Also reported not to work on Sun machine although on some other comput
"Toon Knapen" <[EMAIL PROTECTED]> writes:
| > seems like this code
| >
| > template< typename T >
| > bool is_nan( const T& v )
| > {
| > return std::numeric_limits::has_quiet_NaN && (v != v);
| > }
| >
| > does not work correctly on some machines.
|
| Could you be more
"jvd" <[EMAIL PROTECTED]> writes:
| Dear boosters,
|
| seems like this code
|
| template< typename T >
| bool is_nan( const T& v )
| {
| return std::numeric_limits::has_quiet_NaN && (v != v);
| }
|
| does not work correctly on some machines.
Yes. It is an incorrect (un
]
| [mailto:[EMAIL PROTECTED] Behalf Of jvd
| Sent: Friday, July 04, 2003 12:34 PM
| To: Boost mailing list
| Subject: [boost] is_nan
|
|
| Dear boosters,
|
| seems like this code
|
| template< typename T >
| bool is_nan( const T& v )
| {
| return std::numeric_limits::has
> seems like this code
>
> template< typename T >
> bool is_nan( const T& v )
> {
> return std::numeric_limits::has_quiet_NaN && (v != v);
> }
>
> does not work correctly on some machines.
Could you be more specific. On which machines for instance ?
___
Dear boosters,
seems like this code
template< typename T >
bool is_nan( const T& v )
{
return std::numeric_limits::has_quiet_NaN && (v != v);
}
does not work correctly on some machines.
As far, as I can remember, intervals library also use similar implementation
of is_na