Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!amdahl!oliveb!sun!dgh!dgh From: dgh%dgh@Sun.COM (David Hough) Newsgroups: comp.lang.c Subject: ANSI C Standard & Floating Point Message-ID: <33424@sun.uucp> Date: Mon, 9-Nov-87 23:08:27 EST Article-I.D.: sun.33424 Posted: Mon Nov 9 23:08:27 1987 Date-Received: Thu, 12-Nov-87 05:29:57 EST Sender: news@sun.uucp Lines: 29 Keywords: ANSI C, floating point If you are interested in the two subjects listed I would appreciate your reaction to my first draft of comments on the proposed ANSI C standard. Reply by mail (rather than posting!) and I will send you the ?roff source. Here's an abstract: The proposed C standard suffers numerical shortcomings - many inherited from its precursors - in the areas of expression evaluation and floating-point exception handling, particularly in the library of elementary transcendental func- tions. The following comments are included: Comment #1, Section 3.2.1.4: round conversions between floating types Comment #2, Section 3.4: facilitate deferral of constant expression evaluation Comment #3, Section 4.7: SIGFPE means floating point Comment #4, Section 4.9.6.2: scanf requires pushback > 1 Comment #5, Section 4.10.2: require two random number generators Comment #6, Section 3.3.3.3: respect parentheses in expression evaluation Comment #7, Section 2.2.4.2: has too many names, not enough information Comment #8, Section 4.9.6: printf/scanf duality for non-model numbers Comment #9, Section 4.10.1.4: strtod/atof are mathematical functions Comment #10, Section 4.13.2: standard functions are operators Comment #11, Section 4.5: make numerical exception handling uniform Comment #12, Section 4.5: specific mathematical library functions David Hough ARPA: dhough@sun.com UUCP: {ucbvax,decvax,allegra,decwrl,cbosgd,ihnp4,seismo}!sun!dhough