<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.19431">
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@page WordSection1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; MARGIN: 0in 0in 0pt
}
LI.MsoNormal {
        FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; MARGIN: 0in 0in 0pt
}
DIV.MsoNormal {
        FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; MARGIN: 0in 0in 0pt
}
A:link {
        TEXT-DECORATION: underline; COLOR: blue; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        TEXT-DECORATION: underline; COLOR: blue; mso-style-priority: 99
}
SPAN.EmailStyle21 {
        FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext; mso-style-type: personal-compose
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.WordSection1 {
        page: WordSection1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US link=blue vLink=purple>
<DIV dir=ltr align=left><SPAN class=171053718-15062020><FONT color=#0000ff 
size=2 face=Arial>Hi David, thanks for posting this!   I just 
took a quick skim through  <U>P1467R4.html</U> ; one sentence 
caught my eye:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=171053718-15062020><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=171053718-15062020><FONT color=#0000ff 
size=2 face=Arial>    <SPAN 
style="FONT-SIZE: medium; FONT-FAMILY: sans-serif; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: 400; COLOR: rgb(0,0,0); FONT-STYLE: normal; ORPHANS: 2; WIDOWS: 2; DISPLAY: inline !important; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial">When 
an implementation supports both binary and decimal floating-point, the 
conversion </SPAN></FONT></SPAN><SPAN class=171053718-15062020><FONT 
color=#0000ff size=2 face=Arial><SPAN 
style="FONT-SIZE: medium; FONT-FAMILY: sans-serif; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: 400; COLOR: rgb(0,0,0); FONT-STYLE: normal; ORPHANS: 2; WIDOWS: 2; DISPLAY: inline !important; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial">ranks 
of a binary type and a decimal type will always be unordered, because neither 
type’s set of values will be a subset of the other due to the different 
radixes.<SPAN> </SPAN></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=171053718-15062020><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=171053718-15062020><FONT color=#0000ff 
size=2 face=Arial>This is not right; binary floating-point types can always 
be a subset of appropriate decimal floating-point types because the latter have 
a base of 5*2 (in C/C++ notation), so you can make an exact conversion using the 
same number of digits.  Decimal floating-point-types, however, cannot be 
converted exactly to binary types (in general) because of that power of 
five.  <BR><BR>See <A 
href="http://speleotrove.com/decimal/decifaq1.html"><FONT color=#0066cc size=3 
face="Times New Roman">http://speleotrove.com/decimal/decifaq1.html</FONT></A> for 
some of the background, rationale, etc.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=171053718-15062020><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=171053718-15062020><FONT color=#0000ff 
size=2 face=Arial>Mike</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=171053718-15062020><FONT color=#0000ff 
size=2 face=Arial> </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=171053718-15062020><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px" 
dir=ltr>
  <DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT size=2 face=Tahoma><B>From:</B> Cfp-interest 
  [mailto:cfp-interest-bounces@oakapple.net] <B>On Behalf Of </B>David 
  Olsen<BR><B>Sent:</B> 15 June 2020 19:04<BR><B>To:</B> CFP<BR><B>Subject:</B> 
  [Cfp-interest 1638] C++ floating-point work<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV class=WordSection1>
  <DIV>
  <P class=MsoNormal>I am one of the authors of the C++ proposal P1467 “Extended 
  floating-point types”, which has similar goals to the _Float<I>N</I> work that 
  CFP is doing, in that it adds additional optional floating-point types to the 
  standard.  The next revision of the proposal is available, <A 
  href="https://isocpp.org/files/papers/P1467R4.html">https://isocpp.org/files/papers/P1467R4.html</A> 
  (and also attached to this message).  I welcome any feedback that CFP 
  might have, especially about the “C Compatibility” section, <A 
  href="https://isocpp.org/files/papers/P1467R4.html#c-compat">https://isocpp.org/files/papers/P1467R4.html#c-compat</A> 
  .  Am I representing the C proposal correctly?  Are there other 
  incompatibilities between the C and C++ proposals that I am not seeing?  
  The C++ Committee would like to do a better job than we have in the recent 
  past of keeping C and C++ from diverging unnecessarily, so we are soliciting 
  feedback from the C community while C++ proposals are still under development 
  when there is overlap between C and C++.<o:p></o:p></P>
  <P class=MsoNormal><o:p> </o:p></P>
  <P class=MsoNormal>--<o:p></o:p></P>
  <P class=MsoNormal>David Olsen<o:p></o:p></P>
  <P class=MsoNormal>NVIDIA HPC Compiler Team, WG21 member<o:p></o:p></P>
  <P class=MsoNormal>Portland, Oregon<o:p></o:p></P>
  <P class=MsoNormal><o:p> </o:p></P></DIV></DIV></BLOCKQUOTE></BODY></HTML>