delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/13/19:46:25

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <duncan_roe AT optusnet DOT com DOT au>
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> <CANnLRdifQXhm9wKahU78BN+4FCeXgcFOgFbzNzNbJbH8AOwZoA AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CANnLRdifQXhm9wKahU78BN+4FCeXgcFOgFbzNzNbJbH8AOwZoA@mail.gmail.com>
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 <trueroad AT trueroad DOT jp> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019