X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=ZI9m OYiVDAP9NznpQ3ScTLGtr+eQ/befJiPMbkkc6rgaq5owQrfTvg2j6DnbzbhQFJkh VaOPVVGNigeh2t1IzV0TzA0sDhZCxtd+VXCaJmbezctUiJp/WcsQTCg4ky5lT84e oHdcWFWbDxPiECouTV4ll82JtGMgN62qDzdjHEk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=z9e9PrIHSM y6vACpyLrEXCopdOI=; b=BaOPSWeZOv4UTSQVIl3ZA36TDYT3diBH9t1gwAHvsn pFw4hlvxEtbDVOX2Qt9rfH9WR5OWJtTPC1Imi+45Q/MF0DwIM2mUUsZZOTUbXZ8N rAxGN84G7e9uEq+UFRGW7ApY4lIMk0iNUAcfNwfI8a9X7SBtITxX+te1og4W7G5j Q= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*F:D*com.au, Hx-languages-length:362, 5.3.0 X-HELO: mail110.syd.optusnet.com.au Date: Tue, 14 Aug 2018 09:46:03 +1000 From: Duncan Roe To: cygwin AT cygwin DOT com Subject: Re: `std::stod ("nan")` returns negative NaN Message-ID: <20180813234603.GA2310@dimstar.local.net> Mail-Followup-To: cygwin AT cygwin DOT com References: <20180814 DOT 001550 DOT 1040828527127506667 DOT trueroad AT trueroad DOT jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) X-IsSubscribed: yes On Mon, Aug 13, 2018 at 12:52:48PM -0400, Stephen John Smoogen wrote: > On Mon, 13 Aug 2018 at 11:16, Masamichi Hosoda wrote: [...] > On Fedora 27 with 7.3.1 it gives > ``` > stod ("nan") = nan > stod ("-nan") = nan > quiet_NaN () = nan > ``` [...] Same with Slackware 14.2 / gcc (GCC) 5.3.0 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple