X-Recipient: archive-cygwin@delorie.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:mime-version:references:in-reply-to:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=GMnScB9
	FRvJh4rA/dGIQuX/qTyKYsnbHD1ZUVpCC3nyjhtMUmLf+R/4LANB5x8oHTktLlUm
	dXTBeOLhX25BkL65yBkhG8PPVFK5YAU5VzRQvjD3zP/qY7uoXkGld4zX+oxVQpQv
	ey0i2wZqEbLoxcwOQrrsEvX4hmXRec7BdkU0=
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:mime-version:references:in-reply-to:from:date
	:message-id:subject:to:content-type; s=default; bh=CpPAMVLHafAHn
	yW1yZGbOem7BqQ=; b=JCkVdloGTtFekJjRhu0uTK2e1r8D+9wMJPdBCd6dkeLVZ
	Yxh9xzbyAxATncPx9afDZ5aBqFk3ZTsgNv78KkYhzy4hgdKDcs/hSFcFPlvyGbLZ
	+fThqJ2pE0MejlrqhQG4EyWztQQIVDDuoNC2OTwgK+d4ezPlySYvCFaG7R8xVE=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=D*com.au, subsystem, HX-HELO:sk:mail-pg, H*r:sk:mail-pg
X-HELO: mail-pg1-f178.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20161025;        h=mime-version:references:in-reply-to:from:date:message-id:subject:to;        bh=2NJWnzUPJKY91v/cB9vGhZs/j56F1cNq9QfNsPik1+E=;        b=RdOEGtt0mgW5JkQfwjD72FM+RA8zYkNLwmHsRj/DGL71v4IWLNeaS4AhenZg9bssKD         7faJohI/NimAxUtDZI64P5nJ3GWidoZCVtFJ586yADvtM2NEVPfex8+KjLxFlif0EffM         dE+82qWSyD+g9ghes7UyCSpp9YMiHViamP2RQyp9xyfxQmhvQKTKIFDBksQs2HR+rjSK         Qew+uwbNJzMmYQaMIb81YV9YsEVuIejohmuj/d9WDKOkIAMFFInwea+pqI2ZHVmLqg5j         63IPiHlapwMcrXl22io2F2KdsCsRFK/ns4ad4BX/d8rhAOn3QEuKTUNM4BwZpazOoaG6         /RWQ==
MIME-Version: 1.0
References: <20180814.001550.1040828527127506667.trueroad@trueroad.jp> <CANnLRdifQXhm9wKahU78BN+4FCeXgcFOgFbzNzNbJbH8AOwZoA@mail.gmail.com> <20180813234603.GA2310@dimstar.local.net>
In-Reply-To: <20180813234603.GA2310@dimstar.local.net>
From: Stephen John Smoogen <smooge@gmail.com>
Date: Mon, 13 Aug 2018 20:45:16 -0400
Message-ID: <CANnLRdii8mX71D936AhhEYm+S0s4gS5RGgpPhV_rB6=kzmXKsw@mail.gmail.com>
Subject: Re: `std::stod ("nan")` returns negative NaN
To: cygwin@cygwin.com
Content-Type: text/plain; charset="UTF-8"
X-IsSubscribed: yes

On Mon, 13 Aug 2018 at 19:46, Duncan Roe <duncan_roe@optusnet.com.au> wrote:
>
> 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@trueroad.jp> wrote:
> [...]
> > On Fedora 27 with 7.3.1 it gives
> > ```
> > stod ("nan") = nan
> > stod ("-nan") = nan
> > quiet_NaN () = nan
> > ```
> [...]

I tested a compile on Windows Subsystem for Linux Ubuntu 18.04 which
had gcc 7.3.0. The output was the same as everything but Cygwin. At
this point it is time to pull through the gdb debugger and try to
figure out where it is coming from.


-- 
Stephen J Smoogen.

--
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

