X-Git-Url: http://nsz.repo.hu/git/?p=c-standard;a=blobdiff_plain;f=n1570.html;h=b2639fca4abc3a6489be90ff9fdc8f711c9f8d99;hp=c2dd90475a4540c31082d787b81fb0073261452a;hb=HEAD;hpb=2b20fe1f26910828db54f2f7a8ed2e2097e14104 diff --git a/n1570.html b/n1570.html index c2dd904..b2639fc 100644 --- a/n1570.html +++ b/n1570.html @@ -842,8 +842,8 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.

3.3

1 argument
- actual argument - actual parameter (deprecated) + actual argument
+ actual parameter (deprecated)
expression in the comma-separated list bounded by the parentheses in a function call expression, or a sequence of preprocessing tokens in the comma-separated list bounded by the parentheses in a function-like macro invocation @@ -1130,7 +1130,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.

Contents

3.20

1 - [^ x^]
+ [^ x ^]
ceiling of x: the least integer greater than or equal to x

2 EXAMPLE [^2.4^] is 3, [^-2.4^] is -2. @@ -1139,7 +1139,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.

Contents

3.21

1 - [_ x_]
+ [_ x _]
floor of x: the greatest integer less than or equal to x

2 EXAMPLE [_2.4_] is 2, [_-2.4_] is -3. @@ -1176,7 +1176,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.

6 The two forms of conforming implementation are hosted and freestanding. A conforming hosted implementation shall accept any strictly conforming program. A conforming - freestanding implementation shall accept any strictly conforming program in which the * + freestanding implementation shall accept any strictly conforming program in which the use of the features specified in the library clause (clause 7) is confined to the contents of the standard headers <float.h>, <iso646.h>, <limits.h>, <stdalign.h>, <stdarg.h>, <stdbool.h>, <stddef.h>, <stdint.h>, and @@ -1882,22 +1882,22 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''. Both the basic source and basic execution character sets shall have the following members: the 26 uppercase letters of the Latin alphabet

-         A    B   C      D   E     F   G   H    I    J    K    L   M
-         N    O   P      Q   R     S   T   U    V    W    X    Y   Z
+         A   B   C   D   E   F   G   H   I   J   K   L   M
+         N   O   P   Q   R   S   T   U   V   W   X   Y   Z
 
the 26 lowercase letters of the Latin alphabet
-         a    b   c      d   e     f   g   h    i    j    k    l   m
-         n    o   p      q   r     s   t   u    v    w    x    y   z
+         a   b   c   d   e   f   g   h   i   j   k   l   m
+         n   o   p   q   r   s   t   u   v   w   x   y   z
 
the 10 decimal digits
-         0    1   2      3   4     5   6   7    8    9
+         0   1   2   3   4   5   6   7   8   9
 
the following 29 graphic characters
-         !    "   #      %   &     '   (   )    *    +    ,    -   .    /    :
-         ;    <   =      >   ?     [   \   ]    ^    _    {    |   }    ~
+         !   "   #   %   &   '   (   )   *   +   ,   -   .   /   :
+         ;   <   =   >   ?   [   \   ]   ^   _   {   |   }   ~
 
the space character, and control characters representing horizontal tab, vertical tab, and form feed. The representation of each member of the source and execution basic @@ -2003,29 +2003,23 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.

2 Alphabetic escape sequences representing nongraphic characters in the execution character set are intended to produce actions on display devices as follows: - \a (alert) Produces an audible or visible alert without changing the active position. - \b (backspace) Moves the active position to the previous position on the current line. If -

+
+
\a
(alert) Produces an audible or visible alert without changing the active position. +
\b
(backspace) Moves the active position to the previous position on the current line. If the active position is at the initial position of a line, the behavior of the display device is unspecified. -
- \f ( form feed) Moves the active position to the initial position at the start of the next -
+
\f
(form feed) Moves the active position to the initial position at the start of the next logical page. -
- \n (new line) Moves the active position to the initial position of the next line. - \r (carriage return) Moves the active position to the initial position of the current line. - \t (horizontal tab) Moves the active position to the next horizontal tabulation position -
+
\n
(new line) Moves the active position to the initial position of the next line. +
\r
(carriage return) Moves the active position to the initial position of the current line. +
\t
(horizontal tab) Moves the active position to the next horizontal tabulation position on the current line. If the active position is at or past the last defined horizontal tabulation position, the behavior of the display device is unspecified. -
- \v (vertical tab) Moves the active position to the initial position of the next vertical +
\v
(vertical tab) Moves the active position to the initial position of the next vertical -
     tabulation position. If the active position is at or past the last defined vertical
       tabulation position, the behavior of the display device is unspecified.
-
+

3 Each of these escape sequences shall produce a unique implementation-defined value which can be stored in a single char object. The external representations in a text file @@ -2068,14 +2062,10 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''. character)

  • 31 significant initial characters in an external identifier (each universal character name specifying a short identifier of 0000FFFF or less is considered 6 characters, each - - -
         universal character name specifying a short identifier of 00010000 or more is
         considered 10 characters, and each extended source character is considered the same
         number of characters as the corresponding universal character name, if any)19)
    -
  • 4095 external identifiers in one translation unit
  • 511 identifiers with block scope declared in one block
  • 4095 macro identifiers simultaneously defined in one preprocessing translation unit @@ -2122,51 +2112,89 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''. (absolute value) to those shown, with the same sign.

    2 If the value of an object of type char is treated as a signed integer when used in an expression, the value of CHAR_MIN shall be the same as that of SCHAR_MIN and the value of CHAR_MAX shall be the same as that of SCHAR_MAX. Otherwise, the value of CHAR_MIN shall be 0 and the value of CHAR_MAX shall be the same as that of - UCHAR_MAX.20) The value UCHAR_MAX shall equal 2CHAR_BIT - 1. + UCHAR_MAX.20) The value UCHAR_MAX shall equal 2CHAR_BIT - 1.

    Forward references: representations of types (6.2.6), conditional inclusion (6.10.1).

    Footnotes @@ -2185,22 +2213,21 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''. b base or radix of exponent representation (an integer > 1) e exponent (an integer between a minimum emin and a maximum emax ) p precision (the number of base-b digits in the significand) - fk nonnegative integers less than b (the significand digits) + fk nonnegative integers less than b (the significand digits)

    2 A floating-point number (x) is defined by the following model:

                         p
    -        x = sb e   (Sum) f k b-k ,
    +        x = s be (Sum) fk b-k ,   emin <= e <= emax
                        k=1
    -                                 emin <= e <= emax
     

    3 - In addition to normalized floating-point numbers ( f 1 > 0 if x != 0), floating types may be + In addition to normalized floating-point numbers ( f1 > 0 if x != 0), floating types may be able to contain other kinds of floating-point numbers, such as subnormal floating-point - numbers (x != 0, e = emin , f 1 = 0) and unnormalized floating-point numbers (x != 0, - e > emin , f 1 = 0), and values that are not floating-point numbers, such as infinities and + numbers (x != 0, e = emin , f1 = 0) and unnormalized floating-point numbers (x != 0, + e > emin , f1 = 0), and values that are not floating-point numbers, such as infinities and NaNs. A NaN is an encoding signifying Not-a-Number. A quiet NaN propagates through almost every arithmetic operation without raising a floating-point exception; a signaling NaN generally raises a floating-point exception when occurring as an @@ -2231,8 +2258,8 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''. All integer values in the <float.h> header, except FLT_ROUNDS, shall be constant expressions suitable for use in #if preprocessing directives; all floating values shall be constant expressions. All except DECIMAL_DIG, FLT_EVAL_METHOD, FLT_RADIX, - and FLT_ROUNDS have separate names for all three floating-point types. The floating- - point model representation is provided for all values except FLT_EVAL_METHOD and + and FLT_ROUNDS have separate names for all three floating-point types. The floating-point + model representation is provided for all values except FLT_EVAL_METHOD and FLT_ROUNDS.

    8 The rounding mode for floating-point addition is characterized by the implementation- @@ -2256,14 +2283,14 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''. may be greater than required by the type. The use of evaluation formats is characterized by the implementation-defined value of FLT_EVAL_METHOD:24)

    -        -1         indeterminable;
    -          0       evaluate all operations and constants just to the range and precision of the
    +        -1        indeterminable;
    +         0        evaluate all operations and constants just to the range and precision of the
                       type;
    -          1       evaluate operations and constants of type float and double to the
    +         1        evaluate operations and constants of type float and double to the
                       range and precision of the double type, evaluate long double
                       operations and constants to the range and precision of the long double
                       type;
    -          2       evaluate all operations and constants to the range and precision of the
    +         2        evaluate all operations and constants to the range and precision of the
                       long double type.
     
    All other negative values for FLT_EVAL_METHOD characterize implementation-defined @@ -2283,16 +2310,16 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''. those shown, with the same sign: