[comp.lang.c] ANSI C Standard & Floating Point

dgh%dgh@Sun.COM (David Hough) (11/10/87)

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:    <float.h> 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