<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content=
"HTML Tidy for OS/2 (vers 1 September 2005), see www.w3.org">
<style type="text/css">
del { font-weight:bold;background-color:#ffa0a0 }
ins { font-weight:bold;background-color:#a0ffa0 }
blockquote {
display: block;
font-family: "Times New Roman";
background-color:lightgray;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 40px;
margin-right: 40px
}
</style>
<title>N25??: C23 versus IEEE 754-2019</title>
</head>
<body>
<p><br>
<!-- Who are the authors... -->
<b>Submitter:</b>CFP group<br>
<!-- What is the date of submission. yyyy-mm-dd -->
<b>Submission Date:</b> 2020-??-??<br>
<b>Document:</b> WG14 N25??<br>
<b>Title:</b> N25??: C23 versus IEEE 754-2019<br>
<b>Reference Documents:</b> N2583, IEEE 754-2019</p>
<p>Summary: There are a few places in C23 that have not caught up
with IEEE 754-2019 aka IEC 60559-2020.</p>
<p>Note to editor: "inf" should be replaced with infinity
symbol.</p>
<ul>
<li>Add to C23 F.10.4.2 compoundn:
<blockquote>
<pre>
compoundn(+/-0,n) returns 1
compoundn(+inf,n) returns +inf for n>0
compoundn(+inf,n) returns +0 for n<0
compoundn(NaN,n) returns NaN for n!=0
</pre>
</blockquote>
</li>
<li>Add to C23 F.10.4.7 powr:
<blockquote>
<pre>
powr(x,NaN) returns NaN for 0 <= x.
powr(NaN,y) returns NaN.
powr(+1,+/-inf) returns a NaN and raises the "invalid" floating-point exception.
</pre>
</blockquote>Also, remove the line:
<blockquote>
- powr(+1, y)
</blockquote>
</li>
<li>F.10.8.1 copysign
<p>Change</p>
<blockquote>
copysign is specified in the Appendix to IEC 60559.
</blockquote>to
<blockquote>
copysign is specified in <del>the Appendix to</del> IEC
60559.
</blockquote>
</li>
</ul>
</body>
</html>