Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Dec 2014 02:40:02 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Pedro Giffuni <pfg@FreeBSD.org>
Cc:        freebsd-standards@FreeBSD.org
Subject:   Re: Does posix say anything about the sign in NaNs ?
Message-ID:  <20141225004002.GA7015@straylight.m.ringlet.net>
In-Reply-To: <549B1115.8000909@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wed, Dec 24, 2014 at 02:16:37PM -0500, Pedro Giffuni wrote:
> Hello;
> 
> I got the attached patch from OpenBSD.
> 
> It says:
> ____
> Show the sign for NaN as per POSIX; from Elliott Hughes.
> ok martynas@, millert@, doug@
> ____
> 
> I can't find a reference in POSIX documentation to support it though.

The message to OpenBSD's tech@ list that suggested this was
http://marc.info/?l=openbsd-tech&m=141876375108892&w=2

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

> Anyone has a reason why we shouldn't adopt it, or a reference I can quote
> on the commit log?

Hope the above helps!

> ps. Merry Christmas to everyone !!

Same to you! :)

G'luck,
Peter

-- 
Peter Pentchev  roam@ringlet.net roam@FreeBSD.org p.penchev@storpool.com
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUm1zdAAoJEGUe77AlJ98T0NEP/jYdtHE36q1XdNRIyGjU4w5g
QlhHL2PXgakrPhwS218lS1jSlu9ozhk4LnOAzs/5KovEwdcE7sZ/XBfLmDp6gOUk
mCKzVxvVGvg0E1WRx0yBPuLauahYrffiXw71MYj9AYq1AYrcBbqRsJyYe7p+XSFp
MaEkq4L8tcE1jCJIgUDg2YYu30TM+Dzp7pzz5fX841UjMg6IDos29ZjqRyeL7rru
li2erQLCTxFNV24ag3CmbJhMsGfSH7H90PfAeUoH948PhW2PBpfCYSTAKy1mgGz8
X2ZqPjCuk+6SmIvi/h/s81F88Fw4sXHQ0iQQuR7laEcGrC9jqy32X4TauhKEH+XJ
bcU68zuWolAQts1uxyrBQSpW5vEUWRp9Acg39/npDtP0ACB0YZ1nu00r/lDm3eXS
ouJ8cjuASNxGhfaRAdx8+JWsmUZyuD8+uMGuFoI6hyT0nzoUJPsLAvfKxZGmL3rC
7tVOTHJR+y8PrusgiodjUAPCeYLt4H5rQG8B/ELTSmM7G3ovJ8kuKHsLgPXbM7x9
ItS/sjYlJIAC9UukYQZpKf48mlQ1sqEn7OZ/MgSZxefqJlmk+CJzoLx/UDZE11n9
k76hZb7E7kivej5gtEA3Q6sUIGHJiIyLaCMW4X1mYjgggqcPc7BtH0wUQVsQ8Qrg
5qOO8v1VwTjJU/nCb8ab
=m0PD
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141225004002.GA7015>