incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <Farid_Zari...@epam.com>
Subject RE: STDCXX examples fails and reasons [MSVC]
Date Fri, 22 Jun 2007 13:39:19 GMT
> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com] 
> Sent: Thursday, June 21, 2007 8:56 PM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: STDCXX examples fails and reasons [MSVC]
 
[...]

> limits.cpp should produce the qnan for Quiet NAN and snan for
> Signaling NAN on all platforms.

  I can't find this requirement in standard.

  The MSVC/Dinkumware STL produces:
static double infinity () = 1.#INF;
static double quiet_NaN () = 1.#QNAN;
static double signaling_NaN () = 1.#QNAN;

  The gcc 3.4.4/SGI STL/Cygwin produces:
static double infinity () = inf;
static double quiet_NaN () = nan;
static double signaling_NaN () = nan;

Farid.

Mime
View raw message