From owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org  Fri Dec 15 09:45:32 2017
Return-Path: <owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org>
X-Original-To: sc22wg5-dom8
Delivered-To: sc22wg5-dom8@www.open-std.org
Received: by www.open-std.org (Postfix, from userid 521)
	id 2AD2A358914; Fri, 15 Dec 2017 09:45:32 +0100 (CET)
Delivered-To: sc22wg5@open-std.org
X-Greylist: delayed 396 seconds by postgrey-1.34 at www5.open-std.org; Fri, 15 Dec 2017 09:45:30 CET
Received: from nag-j.co.jp (bvdeuz19.secure.ne.jp [180.222.80.19])
	by www.open-std.org (Postfix) with SMTP id 94D3E3588D5
	for <sc22wg5@open-std.org>; Fri, 15 Dec 2017 09:45:28 +0100 (CET)
Received: (qmail 77909 invoked from network); 15 Dec 2017 17:38:45 +0900
Received: from unknown (HELO Maru10) (218.42.159.105)
  by 0 with SMTP; 15 Dec 2017 17:38:45 +0900
From: "Malcolm Cohen" <malcolm@nag-j.co.jp>
To: "'WG5'" <sc22wg5@open-std.org>
Subject: Additional forthcoming unauthorised editorial/technical changes
Date: Fri, 15 Dec 2017 17:38:47 +0900
Message-ID: <002601d37580$20004a70$6000df50$@nag-j.co.jp>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0027_01D375CB.8FE88EB0"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdN1fcbIXsPljlKdRpK93xtWqYp7kQ==
Content-Language: en-gb
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

This is a multipart message in MIME format.

------=_NextPart_000_0027_01D375CB.8FE88EB0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi folks,

 

While I was looking at the list of IEEE functions we require support for in
p1 of 17.9 (page 453) I noticed some more problems.

 

1.	There is no such function as "copysign".  It's spelled "copySign".
2.	There is no such function as "scalb".  There is a "scaleB", but
unlike IEEE_SCALB that is required to have the second argument of the same
type and type parameters as the result of "logB" (we chose REAL for the
result of IEEE_LOGB and INTEGER for the argument of IEEE_SCALB, so we fail
the consistency requirement).  Also unlike IEEE_SCALB it is rounded
according to the "applicable" rounding mode, so should not always produce
INF with overflow.  Perhaps we weaselled "scaleB" by saying it could be done
by a code sequence, but anyway we have nothing suitable to require, so we
have to delete it from the list.
3.	There is no such function as "logb".  It's spelled "logB".
4.	There is no such function as "nextafter" at all.  The 754 committee
did not include this function, and they have no function that matches
IEEE_NEXT_AFTER.  They did include nextUp and nextDown as improved
replacements for the functionality (and we have those).  So we need to
delete "nextafter" from the list, the only question is whether we want to
require nextUp and nextDown (viz IEEE_NEXT_UP and IEEE_NEXT_DOWN) instead.
5.	There is no such function as "unordered".  It's spelled
"compareQuietUnordered".

 

So that is three renamings and two deletions.  As the text is undeniably
wrong as is, these would seem to be uncontroversial.

 

And there is one open question: Should we require support for IEEE_NEXT_UP
and IEEE_NEXT_DOWN?  In the absence of direction I will assume the answer is
"No", i.e. I will not insert anything to require such support.

 

Cheers,

-- 

..............Malcolm Cohen, NAG Oxford/Tokyo.

 


------=_NextPart_000_0027_01D375CB.8FE88EB0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:"Yu Gothic";
	panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"Yu Gothic";
	panose-1:2 11 4 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:99.25pt 3.0cm 3.0cm 3.0cm;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:564610419;
	mso-list-type:hybrid;
	mso-list-template-ids:16142820 134807567 134807577 134807579 134807567 =
134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal>Hi folks,<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>While I was =
looking at the list of IEEE functions we require support for in p1 of =
17.9 (page 453) I noticed some more problems.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><ol style=3D'margin-top:0cm' =
start=3D1 type=3D1><li class=3DMsoListParagraph =
style=3D'margin-left:0cm;mso-list:l0 level1 lfo1'>There is no such =
function as &#8220;copysign&#8221;.&nbsp; It&#8217;s spelled =
&#8220;copySign&#8221;.<o:p></o:p></li><li class=3DMsoListParagraph =
style=3D'margin-left:0cm;mso-list:l0 level1 lfo1'>There is no such =
function as &#8220;scalb&#8221;.&nbsp; There is a &#8220;scaleB&#8221;, =
but unlike IEEE_SCALB that is required to have the second argument of =
the same type and type parameters as the result of &#8220;logB&#8221; =
(we chose REAL for the result of IEEE_LOGB and INTEGER for the argument =
of IEEE_SCALB, so we fail the consistency requirement).&nbsp; Also =
unlike IEEE_SCALB it is rounded according to the =
&#8220;applicable&#8221; rounding mode, so should not always produce INF =
with overflow.&nbsp; Perhaps we weaselled &#8220;scaleB&#8221; by saying =
it could be done by a code sequence, but anyway we have nothing suitable =
to require, so we have to delete it from the list.<o:p></o:p></li><li =
class=3DMsoListParagraph style=3D'margin-left:0cm;mso-list:l0 level1 =
lfo1'>There is no such function as &#8220;logb&#8221;.&nbsp; It&#8217;s =
spelled &#8220;logB&#8221;.<o:p></o:p></li><li class=3DMsoListParagraph =
style=3D'margin-left:0cm;mso-list:l0 level1 lfo1'>There is no such =
function as &#8220;nextafter&#8221; at all.&nbsp; The 754 committee did =
not include this function, and they have no function that matches =
IEEE_NEXT_AFTER.&nbsp; They did include nextUp and nextDown as improved =
replacements for the functionality (and we have those).&nbsp; So we need =
to delete &#8220;nextafter&#8221; from the list, the only question is =
whether we want to require nextUp and nextDown (viz IEEE_NEXT_UP and =
IEEE_NEXT_DOWN) instead.<o:p></o:p></li><li class=3DMsoListParagraph =
style=3D'margin-left:0cm;mso-list:l0 level1 lfo1'>There is no such =
function as &#8220;unordered&#8221;.&nbsp; It&#8217;s spelled =
&#8220;compareQuietUnordered&#8221;.<o:p></o:p></li></ol><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>So that is =
three renamings and two deletions.&nbsp; As the text is undeniably wrong =
as is, these would seem to be uncontroversial.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>And there is =
one open question: Should we require support for IEEE_NEXT_UP and =
IEEE_NEXT_DOWN?&nbsp; In the absence of direction I will assume the =
answer is &#8220;No&#8221;, i.e. I will not insert anything to require =
such support.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Cheers,<o:p></o:p></p><p class=3DMsoNormal =
style=3D'text-align:justify;text-justify:inter-ideograph'><span =
lang=3DEN-US style=3D'font-size:10.5pt'>-- </span><span =
style=3D'font-size:10.5pt'><o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'text-align:justify;text-justify:inter-ideograph'><span =
lang=3DEN-US style=3D'font-size:10.5pt'>..............Malcolm Cohen, NAG =
Oxford/Tokyo.</span><span =
style=3D'font-size:10.5pt'><o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_0027_01D375CB.8FE88EB0--

