diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-10-20 18:46:38 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-10-20 18:46:38 +0000 |
commit | 76a7df5256c9873b853f8d48247b7140b2d6d670 (patch) | |
tree | eda0f3cbbc3352a884b59243a9ff6d21ac258cb2 /newlib/libc | |
parent | d775e6b7aeb570dd8d8624299c5d551bdefa9416 (diff) | |
download | newlib-76a7df5256c9873b853f8d48247b7140b2d6d670.zip newlib-76a7df5256c9873b853f8d48247b7140b2d6d670.tar.gz newlib-76a7df5256c9873b853f8d48247b7140b2d6d670.tar.bz2 |
2003-10-20 Bob Wilson <bob.wilson@acm.org>
* libc/locale/locale.c: Use double quotes in code.
* libc/locale/locale.tex: Likewise.
* libc/libc.texinfo: Hyphenate "floating-point".
* libc/machine/necv70/necv70.tex: Likewise.
* libc/stdio/sprintf.c: Likewise.
* libc/stdio/sscanf.c: Likewise.
* libc/stdlib/atof.c: Likewise.
* libc/stdlib/ldtoa.c: Fix comment typo.
* libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
* libc/stdlib/ldiv.c: Likewise.
* libm/common/s_expm1.c: Likewise.
* libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
* libm/common/s_infinity: Hyphenate "double- and single-precision".
* libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
* libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
and "floating-point".
* libm/common/s_scalbn.c: Correct the FUNCTION summary.
* libm/math/e_pow.c: Fix comment typo.
* libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
* libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
* libm/math/s_atan.c: Likewise.
* libm/math/s_frexp.c: Likewise. Also use "nonzero".
* libm/math/s_isnan.c: Hyphenate "single-precision" and
"floating-point". Use "nonzero".
* libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
* libm/math/w_acos.c: Likewise.
* libm/math/w_acosh.c: Likewise.
* libm/math/w_asin.c: Likewise.
* libm/math/w_atan2.c: Likewise.
* libm/math/w_atanh.c: Likewise.
* libm/math/w_cosh.c: Likewise.
* libm/math/w_exp.c: Likewise.
* libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
version of 2^x in the description.
* libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
* libm/math/w_gamma.c: Likewise.
* libm/math/w_hypot.c: Likewise.
* libm/math/w_j0.c: Likewise.
* libm/math/w_sinh.c: Likewise.
* libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
* libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
"floating-point".
* libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
* libm/mathfp/e_atanh.c: Likewise.
* libm/mathfp/e_hypot.c: Likewise.
* libm/mathfp/er_lgamma.c: Likewise.
* libm/mathfp/s_acos.c: Likewise.
* libm/mathfp/s_asine.c: Likewise.
* libm/mathfp/s_asinh.c: Likewise.
* libm/mathfp/s_atan.c: Likewise.
* libm/mathfp/s_atan2.c: Likewise.
* libm/mathfp/s_atangent.c: Likewise.
* libm/mathfp/s_cosh.c: Likewise.
* libm/mathfp/s_exp.c: Likewise.
* libm/mathfp/s_fmod.c: Likewise.
* libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
* libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
"floating-point". Use "nonzero".
* libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
* libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
* libm/mathfp/s_sineh.c: Likewise.
* libm/mathfp/w_jn.c: Likewise.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/libc.texinfo | 4 | ||||
-rw-r--r-- | newlib/libc/locale/locale.c | 12 | ||||
-rw-r--r-- | newlib/libc/locale/locale.tex | 26 | ||||
-rw-r--r-- | newlib/libc/machine/necv70/necv70.tex | 6 | ||||
-rw-r--r-- | newlib/libc/stdio/sprintf.c | 10 | ||||
-rw-r--r-- | newlib/libc/stdio/sscanf.c | 4 | ||||
-rw-r--r-- | newlib/libc/stdlib/atof.c | 2 | ||||
-rw-r--r-- | newlib/libc/stdlib/div.c | 4 | ||||
-rw-r--r-- | newlib/libc/stdlib/ldiv.c | 4 | ||||
-rw-r--r-- | newlib/libc/stdlib/ldtoa.c | 2 |
10 files changed, 37 insertions, 37 deletions
diff --git a/newlib/libc/libc.texinfo b/newlib/libc/libc.texinfo index e12c572..b83ba3a 100644 --- a/newlib/libc/libc.texinfo +++ b/newlib/libc/libc.texinfo @@ -36,7 +36,7 @@ University of California, Berkeley and its contributors. libc includes software developed by Martin Jackson, Graham Haley and Steve Chamberlain of Tadpole Technology and released to Cygnus. -libc uses floating point converstion software developed at AT&T, which +libc uses floating-point conversion software developed at AT&T, which includes this copyright information: The author of this software is David M. Gay. @@ -106,7 +106,7 @@ University of California, Berkeley and its contributors. @file{libc} includes software developed by Martin Jackson, Graham Haley and Steve Chamberlain of Tadpole Technology and released to Cygnus. -@file{libc} uses floating point conversion software developed at AT&T, +@file{libc} uses floating-point conversion software developed at AT&T, which includes this copyright information: @cartouche diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index 772f150..66c93d7 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -42,17 +42,17 @@ execution environment for international collating and formatting information; <<localeconv>> reports on the settings of the current locale. -This is a minimal implementation, supporting only the required <<``C''>> +This is a minimal implementation, supporting only the required <<"C">> value for <[locale]>; strings representing other locales are not honored unless MB_CAPABLE is defined in which case three new -extensions are allowed for LC_CTYPE or LC_MESSAGES only: <<''C-JIS''>>, -<<''C-EUCJP''>>, <<''C-SJIS''>>, or <<''C-ISO-8859-1''>>. (<<``''>> is +extensions are allowed for LC_CTYPE or LC_MESSAGES only: <<"C-JIS">>, +<<"C-EUCJP">>, <<"C-SJIS">>, or <<"C-ISO-8859-1">>. (<<"">> is also accepted; it represents the default locale -for an implementation, here equivalent to <<``C''>>.) +for an implementation, here equivalent to <<"C">>.) If you use <<NULL>> as the <[locale]> argument, <<setlocale>> returns a pointer to the string representing the current locale (always -<<``C''>> in this implementation). The acceptable values for +<<"C">> in this implementation). The acceptable values for <[category]> are defined in `<<locale.h>>' as macros beginning with <<"LC_">>, but this implementation does not check the values you pass in the <[category]> argument. @@ -67,7 +67,7 @@ in effect. RETURNS <<setlocale>> returns either a pointer to a string naming the locale -currently in effect (always <<``C''>> for this implementation, or, if +currently in effect (always <<"C">> for this implementation, or, if the locale request cannot be honored, <<NULL>>. <<localeconv>> returns a pointer to a structure of type <<lconv>>, diff --git a/newlib/libc/locale/locale.tex b/newlib/libc/locale/locale.tex index 7958a98..20dc5d2 100644 --- a/newlib/libc/locale/locale.tex +++ b/newlib/libc/locale/locale.tex @@ -6,10 +6,10 @@ collating sequences and formatting conventions) that may be different depending on location or culture. The @code{"C"} locale is the only one defined in the ANSI C standard. -This is a minimal implementation, supporting only the required @code{``C''} +This is a minimal implementation, supporting only the required @code{"C"} value for locale; strings representing other locales are not -honored. (@code{``''} is also accepted; it represents the default locale -for an implementation, here equivalent to @code{``C''}. +honored. (@code{""} is also accepted; it represents the default locale +for an implementation, here equivalent to @code{"C"}. @file{locale.h} defines the structure @code{lconv} to collect the @@ -18,13 +18,13 @@ information on a locale, with the following fields: @table @code @item char *decimal_point The decimal point character used to format ``ordinary'' numbers (all -numbers except those referring to amounts of money). @code{``.''} in the +numbers except those referring to amounts of money). @code{"."} in the C locale. @item char *thousands_sep The character (if any) used to separate groups of digits, when formatting ordinary numbers. -@code{``''} in the C locale. +@code{""} in the C locale. @item char *grouping Specifications for how many digits to group (if any grouping is done at @@ -33,36 +33,36 @@ character in the string represents the number of digits for the next group, and a value of @code{0} (that is, the string's trailing @code{NULL}) means to continue grouping digits using the last value specified. Use @code{CHAR_MAX} to indicate that no further grouping is -desired. @code{``''} in the C locale. +desired. @code{""} in the C locale. @item char *int_curr_symbol The international currency symbol (first three characters), if any, and the character used to separate it from numbers. -@code{``''} in the C locale. +@code{""} in the C locale. @item char *currency_symbol The local currency symbol, if any. -@code{``''} in the C locale. +@code{""} in the C locale. @item char *mon_decimal_point The symbol used to delimit fractions in amounts of money. -@code{``''} in the C locale. +@code{""} in the C locale. @item char *mon_thousands_sep Similar to @code{thousands_sep}, but used for amounts of money. -@code{``''} in the C locale. +@code{""} in the C locale. @item char *mon_grouping Similar to @code{grouping}, but used for amounts of money. -@code{``''} in the C locale. +@code{""} in the C locale. @item char *positive_sign A string to flag positive amounts of money when formatting. -@code{``''} in the C locale. +@code{""} in the C locale. @item char *negative_sign A string to flag negative amounts of money when formatting. -@code{``''} in the C locale. +@code{""} in the C locale. @item char int_frac_digits The number of digits to display when formatting amounts of money to diff --git a/newlib/libc/machine/necv70/necv70.tex b/newlib/libc/machine/necv70/necv70.tex index be5397f..9c15304 100644 --- a/newlib/libc/machine/necv70/necv70.tex +++ b/newlib/libc/machine/necv70/necv70.tex @@ -1,8 +1,8 @@ @node machine,,syscalls,Top @chapter NEC V70 Specific Functions -The NEC V70 has machine instructions for fast IEEE floating point, -including operations normally provided by the library. +The NEC V70 has machine instructions for fast IEEE floating-point +arithmetic, including operations normally provided by the library. When you use the @file{/usr/include/fastmath.h} header file, the names of several library math functions are redefined to call the @@ -43,7 +43,7 @@ Also, the library provides true @code{float} entry points. The @code{fast_sinf} entry point really performs a @code{fsin.s} operation. Because of this, the instructions are only useful when using code compiled with an ANSI C compiler. The prototypes -and definitions for the floating point versions of the math library +and definitions for the floating-point versions of the math library routines are only defined if compiling a module with an ANSI C compiler. diff --git a/newlib/libc/stdio/sprintf.c b/newlib/libc/stdio/sprintf.c index 55d1a44..b440fce 100644 --- a/newlib/libc/stdio/sprintf.c +++ b/newlib/libc/stdio/sprintf.c @@ -250,24 +250,24 @@ DESCRIPTION o f prints a signed value of the form <<[-]9999.9999>>; takes - a floating point number + a floating-point number o e prints a signed value of the form <<[-]9.9999e[+|-]999>>; takes a - floating point number + floating-point number o E prints the same way as <<e>>, but using <<E>> to introduce the - exponent; takes a floating point number + exponent; takes a floating-point number o g prints a signed value in either <<f>> or <<e>> form, based on given value and precision---trailing zeros and the decimal point are - printed only if necessary; takes a floating point number + printed only if necessary; takes a floating-point number o G prints the same way as <<g>>, but using <<E>> for the exponent if an - exponent is needed; takes a floating point number + exponent is needed; takes a floating-point number o n stores (in the same object) a count of the characters written; diff --git a/newlib/libc/stdio/sscanf.c b/newlib/libc/stdio/sscanf.c index cab4de7..ca80c0e 100644 --- a/newlib/libc/stdio/sscanf.c +++ b/newlib/libc/stdio/sscanf.c @@ -234,11 +234,11 @@ DESCRIPTION <<(int *arg)>>. o e, f, g - Read a floating point number into the corresponding <[arg]>: + Read a floating-point number into the corresponding <[arg]>: <<(float *arg)>>. o E, F, G - Read a floating point number into the corresponding <[arg]>: + Read a floating-point number into the corresponding <[arg]>: <<(double *arg)>>. o i diff --git a/newlib/libc/stdlib/atof.c b/newlib/libc/stdlib/atof.c index bba343c..8497f68 100644 --- a/newlib/libc/stdlib/atof.c +++ b/newlib/libc/stdlib/atof.c @@ -25,7 +25,7 @@ DESCRIPTION <<atoff>> converts the initial portion of a string to a <<float>>. The functions parse the character string <[s]>, -locating a substring which can be converted to a floating point +locating a substring which can be converted to a floating-point value. The substring must match the format: . [+|-]<[digits]>[.][<[digits]>][(e|E)[+|-]<[digits]>] The substring converted is the longest initial diff --git a/newlib/libc/stdlib/div.c b/newlib/libc/stdlib/div.c index 2c070de..816c3fb 100644 --- a/newlib/libc/stdlib/div.c +++ b/newlib/libc/stdlib/div.c @@ -19,9 +19,9 @@ Divide @tex $n/d$, @end tex -@ifinfo +@ifnottex <[n]>/<[d]>, -@end ifinfo +@end ifnottex returning quotient and remainder as two integers in a structure <<div_t>>. RETURNS diff --git a/newlib/libc/stdlib/ldiv.c b/newlib/libc/stdlib/ldiv.c index 054b338..d7508f1 100644 --- a/newlib/libc/stdlib/ldiv.c +++ b/newlib/libc/stdlib/ldiv.c @@ -19,9 +19,9 @@ Divide @tex $n/d$, @end tex -@ifinfo +@ifnottex <[n]>/<[d]>, -@end ifinfo +@end ifnottex returning quotient and remainder as two long integers in a structure <<ldiv_t>>. RETURNS diff --git a/newlib/libc/stdlib/ldtoa.c b/newlib/libc/stdlib/ldtoa.c index 80e8750..7af35d5 100644 --- a/newlib/libc/stdlib/ldtoa.c +++ b/newlib/libc/stdlib/ldtoa.c @@ -44,7 +44,7 @@ void _IO_ldtostr(long double *, char *, int, int, char); /* Maximum exponent digits - base 10 */ #define MAX_EXP_DIGITS 5 -/* Control structure for long doublue conversion including rounding precision values. +/* Control structure for long double conversion including rounding precision values. * rndprc can be set to 80 (if NE=6), 64, 56, 53, or 24 bits. */ typedef struct |