<!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>Nssss: FLT_ROUNDS and ...FROMZERO</title>
</head>
<body>
<p><br>
<!-- Who are the authors... -->
<b>Submitter:</b>Fred Tydeman<br>
<!-- What is the date of submission. yyyy-mm-dd -->
<b>Submission Date:</b> 2018-10-??<br>
<b>Document:</b> WG14 Nssss<br>
<b>Reference Documents:</b> <a href=
"http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2124.pdf">N2124</a></p>
<p>Summary</p>
<p>Technical Corrigendum:</p>
<p>Change §5.2.4.2.2#9 from</p>
<blockquote>
The rounding mode for floating-point addition is characterized
by the implementation-defined value of <b>FLT_ROUNDS</b>:23)
<pre>
-1 indeterminable
0 toward zero
1 to nearest
2 toward positive infinity
3 toward negative infinity
</pre>
</blockquote>
<p>to:</p>
<blockquote>
The rounding mode for floating-point addition is characterized
by the implementation-defined value of <b>FLT_ROUNDS</b>:23)
<pre>
-1 indeterminable
0 toward zero
1 to nearest<ins>, ties to even</ins>
2 toward positive infinity
3 toward negative infinity
<ins> 4 to nearest, ties away from zero</ins>
</pre>
</blockquote>
<p>Change §7.6, paragraph 8 from:</p>
<blockquote>
Each of the macros
<pre>
FE_DOWNWARD
FE_TONEAREST
FE_TOWARDZERO
FE_UPWARD
</pre>
<p>is defined if and only if the implementation supports
getting and setting the represented rounding direction by means
of the <b>fegetround</b> and <b>fesetround</b> functions.</p>
</blockquote>
<p>to:</p>
<blockquote>
Each of the macros
<pre>
FE_DOWNWARD
FE_TONEAREST
FE_TOWARDZERO
FE_UPWARD
<ins>FE_TONEARESTFROMZERO</ins>
</pre>
<p>is defined if and only if the implementation supports
getting and setting the represented rounding direction by means
of the <b>fegetround</b> and <b>fesetround</b> functions.</p>
</blockquote>
</body>
</html>