diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/arith.texi | 36 | ||||
-rw-r--r-- | manual/charset.texi | 2 | ||||
-rw-r--r-- | manual/math.texi | 28 | ||||
-rw-r--r-- | manual/startup.texi | 2 | ||||
-rw-r--r-- | manual/stdio.texi | 18 | ||||
-rw-r--r-- | manual/string.texi | 2 | ||||
-rw-r--r-- | manual/time.texi | 2 |
7 files changed, 45 insertions, 45 deletions
diff --git a/manual/arith.texi b/manual/arith.texi index 11479d6..0dae46c 100644 --- a/manual/arith.texi +++ b/manual/arith.texi @@ -68,7 +68,7 @@ and @dfn{not a number} (NaN). @cindex classes, floating-point @pindex math.h -@w{ISO C 9x} defines macros that let you determine what sort of +@w{ISO C99} defines macros that let you determine what sort of floating-point number a variable holds. @comment math.h @@ -145,7 +145,7 @@ to Another set of floating-point classification functions was provided by BSD. The GNU C library also supports these functions; however, we -recommend that you use the C9x macros in new code. Those are standard +recommend that you use the ISO C99 macros in new code. Those are standard and will be available more widely. Also, since they are macros, you do not have to worry about the type of their argument. @@ -174,7 +174,7 @@ This function returns @code{-1} if @var{x} represents negative infinity, This function returns a nonzero value if @var{x} is a ``not a number'' value, and zero otherwise. -@strong{Note:} The @code{isnan} macro defined by @w{ISO C 9x} overrides +@strong{Note:} The @code{isnan} macro defined by @w{ISO C99} overrides the BSD function. This is normally not a problem, because the two routines behave identically. However, if you really need to get the BSD function for some reason, you can write @@ -407,7 +407,7 @@ You can test whether a floating-point value is infinite by comparing it to this macro. However, this is not recommended; you should use the @code{isfinite} macro instead. @xref{Floating Point Classes}. -This macro was introduced in the @w{ISO C 9X} standard. +This macro was introduced in the @w{ISO C99} standard. @end deftypevr @comment math.h @@ -434,7 +434,7 @@ calculations, unless you explicitly test the sign bit with @node Status bit operations @subsection Examining the FPU status word -@w{ISO C 9x} defines functions to query and manipulate the +@w{ISO C99} defines functions to query and manipulate the floating-point status word. You can use these functions to check for untrapped exceptions when it's convenient, rather than worrying about them in the middle of a calculation. @@ -848,7 +848,7 @@ Most computers use a two's complement integer representation, in which the absolute value of @code{INT_MIN} (the smallest possible @code{int}) cannot be represented; thus, @w{@code{abs (INT_MIN)}} is not defined. -@code{llabs} and @code{imaxdiv} are new to @w{ISO C 9x}. +@code{llabs} and @code{imaxdiv} are new to @w{ISO C99}. @end deftypefun @comment math.h @@ -1271,7 +1271,7 @@ This function is another name for @code{drem}. @cindex FP arithmetic There are some operations that are too complicated or expensive to -perform by hand on floating-point numbers. @w{ISO C 9x} defines +perform by hand on floating-point numbers. @w{ISO C99} defines functions to do these operations, which mostly involve changing single bits. @@ -1380,7 +1380,7 @@ int v = a < 1.0; will raise an exception if @var{a} is NaN. (This does @emph{not} happen with @code{==} and @code{!=}; those merely return false and true, respectively, when NaN is examined.) Frequently this exception is -undesirable. @w{ISO C 9x} therefore defines comparison functions that +undesirable. @w{ISO C99} therefore defines comparison functions that do not raise exceptions when NaN is examined. All of the functions are implemented as macros which allow their arguments to be of any floating-point type. The macros are guaranteed to evaluate their @@ -1545,7 +1545,7 @@ hardware. @pindex complex.h @cindex complex numbers -@w{ISO C 9x} introduces support for complex numbers in C. This is done +@w{ISO C99} introduces support for complex numbers in C. This is done with a new type qualifier, @code{complex}. It is a keyword if and only if @file{complex.h} has been included. There are three complex types, corresponding to the three real types: @code{float complex}, @@ -1634,7 +1634,7 @@ clever compiler to get the same results. @cindex decompose complex numbers @pindex complex.h -@w{ISO C 9x} also defines functions that perform basic operations on +@w{ISO C99} also defines functions that perform basic operations on complex numbers, such as decomposition and conjugation. The prototypes for all these functions are in @file{complex.h}. All functions are available in three variants, one for each of the three complex types. @@ -1821,7 +1821,7 @@ The @code{lldiv} function is like the @code{div} function, but the arguments are of type @code{long long int} and the result is returned as a structure of type @code{lldiv_t}. -The @code{lldiv} function was added in @w{ISO C 9x}. +The @code{lldiv} function was added in @w{ISO C99}. @end deftypefun @comment inttypes.h @@ -1849,7 +1849,7 @@ The @code{imaxdiv} function is like the @code{div} function, but the arguments are of type @code{intmax_t} and the result is returned as a structure of type @code{imaxdiv_t}. -The @code{imaxdiv} function was added in @w{ISO C 9x}. +The @code{imaxdiv} function was added in @w{ISO C99}. @end deftypefun @@ -1969,7 +1969,7 @@ representable because of overflow, @code{strtoll} returns either appropriate for the sign of the value. It also sets @code{errno} to @code{ERANGE} to indicate there was overflow. -The @code{strtoll} function was introduced in @w{ISO C 9x}. +The @code{strtoll} function was introduced in @w{ISO C99}. @end deftypefun @comment stdlib.h @@ -1985,7 +1985,7 @@ The @code{strtoull} function is like @code{strtoul} except that it returns an @code{unsigned long long int}. The value returned on overflow is @code{ULONG_LONG_MAX} (@pxref{Range of Type}). -The @code{strtoull} function was introduced in @w{ISO C 9x}. +The @code{strtoull} function was introduced in @w{ISO C99}. @end deftypefun @comment stdlib.h @@ -2017,7 +2017,7 @@ instead. This function is similar to @code{atol}, except it returns a @code{long long int}. -The @code{atoll} function was introduced in @w{ISO C 9x}. It too is +The @code{atoll} function was introduced in @w{ISO C99}. It too is obsolete (despite having just been added); use @code{strtoll} instead. @end deftypefun @@ -2166,10 +2166,10 @@ examining @var{errno} and @var{tailptr}. @end deftypefun @comment stdlib.h -@comment ISO C +@comment ISO @deftypefun float strtof (const char *@var{string}, char **@var{tailptr}) @comment stdlib.h -@comment ISO C +@comment ISO @deftypefunx {long double} strtold (const char *@var{string}, char **@var{tailptr}) These functions are analogous to @code{strtod}, but return @code{float} and @code{long double} values respectively. They report errors in the @@ -2178,7 +2178,7 @@ than @code{strtod}, but has less precision; conversely, @code{strtold} can be much slower but has more precision (on systems where @code{long double} is a separate type). -These functions have been GNU extensions and are new to @w{ISO C 9x}. +These functions have been GNU extensions and are new to @w{ISO C99}. @end deftypefun @comment stdlib.h diff --git a/manual/charset.texi b/manual/charset.texi index 30bc74a..666d0de 100644 --- a/manual/charset.texi +++ b/manual/charset.texi @@ -120,7 +120,7 @@ defined as @code{char} the type @code{wint_t} must be defined as @pindex wchar.h This type is defined in @file{wchar.h} and got introduced in the second -amendment to @w{ISO C 89}. +amendment to @w{ISO C89}. @end deftp As there are for the @code{char} data type there also exist macros diff --git a/manual/math.texi b/manual/math.texi index c9a4c3a..d834fde 100644 --- a/manual/math.texi +++ b/manual/math.texi @@ -42,8 +42,8 @@ these functions have prototypes declared in the header file All mathematical functions which take a floating-point argument have three variants, one each for @code{double}, @code{float}, and @code{long double} arguments. The @code{double} versions are mostly -defined in @w{ISO C 89}. The @code{float} and @code{long double} -versions are from the numeric extensions to C included in @w{ISO C 9X}. +defined in @w{ISO C89}. The @code{float} and @code{long double} +versions are from the numeric extensions to C included in @w{ISO C99}. Which of the three versions of a function should be used depends on the situation. For most calculations, the @code{float} functions are the @@ -216,11 +216,11 @@ to cope with its absence. @cindex complex trigonometric functions -@w{ISO C 9x} defines variants of the trig functions which work on +@w{ISO C99} defines variants of the trig functions which work on complex numbers. The GNU C library provides these functions, but they are only useful if your compiler supports the new complex types defined by the standard. -@c Change this when gcc is fixed. -zw +@c XXX Change this when gcc is fixed. -zw (As of this writing GCC supports complex numbers, but there are bugs in the implementation.) @@ -377,7 +377,7 @@ If both @var{x} and @var{y} are zero, @code{atan2} returns zero. @end deftypefun @cindex inverse complex trigonometric functions -@w{ISO C 9x} defines complex versions of the inverse trig functions. +@w{ISO C99} defines complex versions of the inverse trig functions. @comment complex.h @comment ISO @@ -575,7 +575,7 @@ number. @file{math.h} defines constants so you can check for this. @code{ilogb} returns this value if its argument is @code{0}. The numeric value is either @code{INT_MIN} or @code{-INT_MAX}. -This macro is defined in @w{ISO C 9X}. +This macro is defined in @w{ISO C99}. @end deftypevr @comment math.h @@ -584,7 +584,7 @@ This macro is defined in @w{ISO C 9X}. @code{ilogb} returns this value if its argument is @code{NaN}. The numeric value is either @code{INT_MIN} or @code{INT_MAX}. -This macro is defined in @w{ISO C 9X}. +This macro is defined in @w{ISO C99}. @end deftypevr These values are system specific. They might even be the same. The @@ -707,7 +707,7 @@ near zero. @cindex complex exponentiation functions @cindex complex logarithm functions -@w{ISO C 9X} defines complex variants of some of the exponentiation and +@w{ISO C99} defines complex variants of some of the exponentiation and logarithm functions. @comment complex.h @@ -1094,17 +1094,17 @@ instead of in the @var{signgam} global. This means it is reentrant. These functions exist for compatibility reasons. They are equivalent to @code{lgamma} etc. It is better to use @code{lgamma} since for one the name reflects better the actual computation, moreover @code{lgamma} is -standardized in @w{ISO C 9x} while @code{gamma} is not. +standardized in @w{ISO C99} while @code{gamma} is not. @end deftypefun @comment math.h -@comment XPG +@comment XPG, ISO @deftypefun double tgamma (double @var{x}) @comment math.h -@comment XPG +@comment XPG, ISO @deftypefunx float tgammaf (float @var{x}) @comment math.h -@comment XPG +@comment XPG, ISO @deftypefunx {long double} tgammal (long double @var{x}) @code{tgamma} applies the gamma function to @var{x}. The gamma function is defined as @@ -1117,7 +1117,7 @@ gamma (x) = integral from 0 to @infinity{} of t^(x-1) e^-t dt @end smallexample @end ifnottex -This function was introduced in @w{ISO C 9x}. +This function was introduced in @w{ISO C99}. @end deftypefun @comment math.h @@ -1216,7 +1216,7 @@ representation @math{d.d@dots{}d@mul{}2^e} (we assume IEEE floating-point numbers with base 2) the ULP is represented by @tex -$$\frac{|{\mathrm d.d\dots d - (z/2^e)|}{2^{p-1}}$$ +$${|d.d\dots d - (z/2^e)|}\over {2^{p-1}}$$ @end tex @ifnottex @smallexample diff --git a/manual/startup.texi b/manual/startup.texi index c8a5259..0e45c2e 100644 --- a/manual/startup.texi +++ b/manual/startup.texi @@ -792,7 +792,7 @@ The @w{ISO C} committee members were not sure whether the definitions of @code{_exit} and @code{_Exit} were compatible so they have not used the POSIX name. -This function was introduced in @w{ISO C9x} and is declared in +This function was introduced in @w{ISO C99} and is declared in @file{stdlib.h}. @end deftypefun diff --git a/manual/stdio.texi b/manual/stdio.texi index ddae15f..882494c 100644 --- a/manual/stdio.texi +++ b/manual/stdio.texi @@ -1193,7 +1193,7 @@ char}, as appropriate. A @code{char} argument is converted to an anyway, but the @samp{h} modifier says to convert it back to a @code{char} again. -This modifier was introduced in @w{ISO C 9x}. +This modifier was introduced in @w{ISO C99}. @item h Specifies that the argument is a @code{short int} or @code{unsigned @@ -1206,7 +1206,7 @@ anyway, but the @samp{h} modifier says to convert it back to a Specifies that the argument is a @code{intmax_t} or @code{uintmax_t}, as appropriate. -This modifier was introduced in @w{ISO C 9x}. +This modifier was introduced in @w{ISO C99}. @item l Specifies that the argument is a @code{long int} or @code{unsigned long @@ -1227,13 +1227,13 @@ from 4.4 BSD; a @w{@code{long long int}} is sometimes called a ``quad'' @item t Specifies that the argument is a @code{ptrdiff_t}. -This modifier was introduced in @w{ISO C 9x}. +This modifier was introduced in @w{ISO C99}. @item z @itemx Z Specifies that the argument is a @code{size_t}. -@samp{z} was introduced in @w{ISO C 9x}. @samp{Z} is a GNU extension +@samp{z} was introduced in @w{ISO C99}. @samp{Z} is a GNU extension predating this addition and should not be used in new code. @end table @@ -1624,7 +1624,7 @@ In practice, it is often easier just to use @code{asprintf}, below. is the number of characters stored, not including the terminating null. If this value equals @code{@var{size} - 1}, then there was not enough space in @var{s} for all the output. This change was necessary with -the adoption of snprintf by ISO C9x. +the adoption of snprintf by ISO C99. @end deftypefun @node Dynamic Output @@ -2685,7 +2685,7 @@ specify other sizes of integer: Specifies that the argument is a @code{signed char *} or @code{unsigned char *}. -This modifier was introduced in @w{ISO C 9x}. +This modifier was introduced in @w{ISO C99}. @item h Specifies that the argument is a @code{short int *} or @code{unsigned @@ -2694,7 +2694,7 @@ short int *}. @item j Specifies that the argument is a @code{intmax_t *} or @code{uintmax_t *}. -This modifier was introduced in @w{ISO C 9x}. +This modifier was introduced in @w{ISO C99}. @item l Specifies that the argument is a @code{long int *} or @code{unsigned @@ -2715,12 +2715,12 @@ from 4.4 BSD; a @w{@code{long long int}} is sometimes called a ``quad'' @item t Specifies that the argument is a @code{ptrdiff_t *}. -This modifier was introduced in @w{ISO C 9x}. +This modifier was introduced in @w{ISO C99}. @item z Specifies that the argument is a @code{size_t *}. -This modifier was introduced in @w{ISO C 9x}. +This modifier was introduced in @w{ISO C99}. @end table All of the @samp{%e}, @samp{%f}, @samp{%g}, @samp{%E}, and @samp{%G} diff --git a/manual/string.texi b/manual/string.texi index 8d2a33e..9ae09b9 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -1041,7 +1041,7 @@ sort_strings_fast (char **array, int nstrings) @end smallexample @strong{Compatibility Note:} The string collation functions are a new -feature of @w{ISO C 89}. Older C dialects have no equivalent feature. +feature of @w{ISO C89}. Older C dialects have no equivalent feature. @node Search Functions @section Search Functions diff --git a/manual/time.texi b/manual/time.texi index 8d79a25..6298c6b 100644 --- a/manual/time.texi +++ b/manual/time.texi @@ -1141,7 +1141,7 @@ Equivalent to the use of @code{%m/%d/%y} in this place. Equivalent to the use of @code{%Y-%m-%d} which is the @w{ISO 8601} date format. -This is a GNU extension following an @w{ISO C 9X} extension to +This is a GNU extension following an @w{ISO C99} extension to @code{strftime}. @item %g |