Date: Wed, 24 Dec 2014 21:38:09 -0500 From: Pedro Giffuni <pfg@freebsd.org> To: Peter Pentchev <roam@ringlet.net> Cc: freebsd-standards@FreeBSD.org Subject: Re: Does posix say anything about the sign in NaNs ? Message-ID: <B05228F3-4ADD-4BE4-B521-43997F56CA69@freebsd.org> In-Reply-To: <20141225004002.GA7015@straylight.m.ringlet.net> References: <549B1115.8000909@FreeBSD.org> <20141225004002.GA7015@straylight.m.ringlet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Il giorno 24/dic/2014, alle ore 19:40, Peter Pentchev = <roam@ringlet.net> ha scritto: >=20 > On Wed, Dec 24, 2014 at 02:16:37PM -0500, Pedro Giffuni wrote: >> Hello; >>=20 >> I got the attached patch from OpenBSD. >>=20 >> It says: >> ____ >> Show the sign for NaN as per POSIX; from Elliott Hughes. >> ok martynas@, millert@, doug@ >> ____ >>=20 >> I can't find a reference in POSIX documentation to support it though. >=20 > The message to OpenBSD's tech@ list that suggested this was > http://marc.info/?l=3Dopenbsd-tech&m=3D141876375108892&w=3D2 >=20 OK, so the change seems to come from google. > The text from POSIX that it quotes may be found e.g. at > http://pubs.opengroup.org/onlinepubs/9699919799/functions/fprintf.html > (search for "A double argument representing an infinity") >=20 >> Anyone has a reason why we shouldn't adopt it, or a reference I can = quote >> on the commit log? >=20 > Hope the above helps! >=20 Certainly, thanks! Pedro.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B05228F3-4ADD-4BE4-B521-43997F56CA69>