> -----Original Message----- > From: Martin Sebor [mailto:[EMAIL PROTECTED] > 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.