<font size=2 face="sans-serif">I left in a private note (the *'d part)
in the notes I sent out yesterday. Please ignore that line since I'll elaborate
here:</font>
<br>
<br><font size=2 face="sans-serif">I have four alternatives I'd like to
propose in order of preference for the quantexpdN and quantexpdNx functions:</font>
<br>
<br><font size=2 face="sans-serif">1) For the common (and likely only)
cases where int is large enough, leave it as is. i.e. We explicitly list
the &quot;too large for int&quot; case as unspecified what the implementation
does.</font>
<br>
<br><font size=2 face="sans-serif">2) Use a _DecimalN return type.</font>
<br><font size=2 face="sans-serif">int quantexpdN(_DecimalN x); -&gt; _DecimalN
quantexpdN (_DecimalN x);</font>
<br><font size=2 face="sans-serif">The _DecimalN return value would be
a canonical value. The hope is that larger N values will give larger ranges
in the return value automatically and there is no need to introduce new
types.</font>
<br>
<br><font size=2 face="sans-serif">3) Have the implementation define a
macro for extended types if the exponent is out of range of an int with
the value of a function name that can handle the larger types (and no macro
defined for ones that fit in int):</font>
<br><font size=2 face="sans-serif">Ex. __DECIMAL1024_HAS_LARGE_QUANTUM_EXPONENT
quantexpd1024_returns_long</font>
<br>
<br><font size=2 face="sans-serif">4) Use int_leastN_t types where the
implementation has to define new int_leastN_t types.</font>
<br><font size=2 face="sans-serif">This has the drawback of having to potentially
introduce new int types (ex For _Decimal128 since not all implementations
have 128 bit integer types).</font>
<br>
<br><font size=2 face="sans-serif">Regards,<br>
<br>
Rajan Bhakta<br>
z/OS XL C/C++ Compiler Technical Architect<br>
ISO C Standards Representative for Canada<br>
C Compiler Development<br>
Contact: rbhakta@ca.ibm.com, Rajan Bhakta/Toronto/IBM<br>
Telephone: (905) 413-3995</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Rajan Bhakta/Toronto/IBM@IBMCA</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">CFP &lt;cfp-interest@ucbtest.org&gt;,
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">04/11/2013 03:07 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">[Cfp-interest] Meeting minutes for 2013/04/11
C FP Study Group</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Sent by:</font>
<td><font size=1 face="sans-serif">cfp-interest-bounces@oakapple.net</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 face="sans-serif">Attendees: Fred, Jim, Marius, Ian, David</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
Old action items:</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;Jim to post spreadsheet: Done</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;Jim to check if a new WG14 document number is needed: Yes. Done</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp;Ian and Rajan to review intro: Good as it is. Done</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp;Jim to describe more changes: Done</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Next meeting: May 16th, 2013</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
New action items:</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;AI: Jim to check with David to go back to old conference number</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp;AI: Jim to send out an email to see if 12:30-2:30 pm EST (30 minutes
earlier than the original time) is OK for time - Consensus to do this on
the call so no email needed.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;AI: Jim to send new words for Part 1 comment 17.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp;AI: Jim to send new words for Part 1 comment 25.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp;AI: Everyone to review Part 2 to make sure it is ready for full
official WG14 review</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Discussion:</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;Fred: Have we resolved how we are working as a subgroup of WG14?
Two wikis for example.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;Jim: Not going very well since he is still doing double posting.
Awkward situation.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;Rajan: Is Secure C doing this? They seem to be doing their own on
the side without too much WG14 impact.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;Fred: Prefer keeping this separate</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Part 1 comments:</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;Jim: Proposed new text is what the comment submitter posted. John
Benito suggested we add a column for our response.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp;Comment from Willem Walker: Change all &quot;Suggested changes to
C11&quot; to &quot;Changes to C11&quot; in our document. Consensus is to
make the change.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;Comment from Joeseph Myers regarding Table 2 and wchar functions
and atof. Consensus is to make the change.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;Spreadsheet comments and consensus:</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;1-2: Make the changes</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;3: Remove first line only</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;4: No main doc changes</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;5: Remove the second instance.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;6: Fred: Reorder the 5 section for all 3 documents.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp;Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;7: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;8 (wprintf, wscanf): Accept changes.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;9: Discussion about how to format. Decided on round dark
bullets and no punctuation.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;10: Accept changes. Change line number to 24 in the comment.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;11 (log function typeface): Accept changes.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;12: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;13: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;14: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;15: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;16: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;17 (llogb): Need to reword this. AI for Jim to do.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;18: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;19: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;20: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;21: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;22 (real floating): Rajan: math.h so shouldn't have complex.
Jim: Consistent with others if we do not accept complex. Accept changes.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;23: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;24 (four macros vs three): Accept changes.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;25: David: Need a way to find out if it is signalling without
signalling.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp;Jim: Wide evaluation is the issue. <br>
 &nbsp; &nbsp; &nbsp;David: Should only apply to variables, not expressions.
<br>
 &nbsp; &nbsp; &nbsp;Jim: Works for variables and expressions generally.
<br>
 &nbsp; &nbsp; &nbsp;David: Add a reference to F.3. <br>
 &nbsp; &nbsp; &nbsp;Fred: How about F.3#5? <br>
 &nbsp; &nbsp; &nbsp;Jim: The standard never references paragraph numbers.
<br>
 &nbsp; &nbsp; &nbsp;AI: Jim to show the words of the F.3 reference being
a footnote.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;26: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;27 (imput): Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;28: Accept changes. Add parenthesis for clarity as well.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;29: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;30: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;31 (old): Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;32: Accept changes.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;33: Accept changes except the line 25 change. Also remove
the bold and typeface of &quot;and&quot; on line 11.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;<br>
Part 2 review:</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;Jim: I want to make this follow Part 1 by one WG14 meeting. This
means we can have a WG14 review in May or June for this.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp;Example 3 on page 29: Output is in &quot;e&quot; format now.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp;Jim: A number of other editorial changes made.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp;<br>
Part 3:</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;This Spring 2013 meeting will be the first time the full WG14 will
see Part 3.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;This means we need Part 4 draft for early September to get into
the October mailing.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;The changes to the type system is risky so needs to be looked at
closely.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;Issue: quantexpd* functions may have the exponent &gt; INT_MAX so
the return type would not work (overflow)</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;*I can send a note suggesting _DecimalN as the return type</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp;Type generic should be looked at still.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Regards,<br>
<br>
Rajan Bhakta<br>
z/OS XL C/C++ Compiler Technical Architect<br>
ISO C Standards Representative for Canada<br>
C Compiler Development<br>
Contact: rbhakta@ca.ibm.com, Rajan Bhakta/Toronto/IBM<br>
Telephone: (905) 413-3995</font><tt><font size=2>_______________________________________________<br>
Cfp-interest mailing list<br>
Cfp-interest@oakapple.net<br>
</font></tt><a href="http://mailman.oakapple.net/mailman/listinfo/cfp-interest"><tt><font size=2>http://mailman.oakapple.net/mailman/listinfo/cfp-interest</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>