This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] clean up newlib documentation


Since no one "official" has yet answered my question about copyright 
requirements etc. for contributing a new port, I thought I might get started 
by contributing some fixes to the newlib documentation.  This is a big patch, 
but there are only a few separate issues:

* There are lots of places where the hyphenation is incorrect.  The patch 
fixes a lot of places where "floating-point", "single-precision" and 
"double-precision" need to be hyphenated but were not.

* The current documentation uses all 3 of "nonzero", "non-zero" and "non 
zero".  The last variant ("non zero") seems incorrect so I replaced it with 
"nonzero", which is what the GCC project uses.  I didn't attempt to fix all 
the uses of "non-zero".

* The locale documentation uses double single quotes inside of code, e.g., 
<<``C''>>, which is not right.  It might look fine for some output formats, 
but it ought be just regular double quotes.

* There are many places where both TeX and non-TeX versions of a description 
are provided, especially for libm.  This was written with @iftex and @ifinfo.  
If you then produce HTML output, you end up with neither version, which is 
really bad, especially because this shows up in the middle of sentences, etc.  
The patch changes these cases to use @iftex and @ifnottex.

* There are several glaring typos in the docs, e.g., "exp1.0nt" instead of 
"exponent".  I fixed these, as well as a few comment typos that I stumbled 
across.

I tested this by running "make info" and browsing through the output.

Is this OK to commit?  I think I have write access for newlib from working on 
binutils.  If someone else would like to commit this for me, that would be 
fine, too.


2003-10-17  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.


Index: libc/libc.texinfo
===================================================================
RCS file: /cvs/src/src/newlib/libc/libc.texinfo,v
retrieving revision 1.6
diff -u -r1.6 libc.texinfo
--- libc/libc.texinfo	21 Dec 2002 01:41:47 -0000	1.6
+++ libc/libc.texinfo	17 Oct 2003 21:48:27 -0000
@@ -36,7 +36,7 @@
 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 @@
 @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
Index: libc/locale/locale.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/locale/locale.c,v
retrieving revision 1.6
diff -u -r1.6 locale.c
--- libc/locale/locale.c	20 Sep 2002 20:13:10 -0000	1.6
+++ libc/locale/locale.c	17 Oct 2003 21:48:28 -0000
@@ -42,17 +42,17 @@
 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 @@
 
 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>>,
Index: libc/locale/locale.tex
===================================================================
RCS file: /cvs/src/src/newlib/libc/locale/locale.tex,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 locale.tex
--- libc/locale/locale.tex	17 Feb 2000 19:39:46 -0000	1.1.1.1
+++ libc/locale/locale.tex	17 Oct 2003 21:48:28 -0000
@@ -6,10 +6,10 @@
 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 @@
 @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 @@
 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
Index: libc/machine/necv70/necv70.tex
===================================================================
RCS file: /cvs/src/src/newlib/libc/machine/necv70/necv70.tex,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 necv70.tex
--- libc/machine/necv70/necv70.tex	17 Feb 2000 19:39:47 -0000	1.1.1.1
+++ libc/machine/necv70/necv70.tex	17 Oct 2003 21:48:28 -0000
@@ -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 @@
 @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.
 
Index: libc/stdio/sprintf.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdio/sprintf.c,v
retrieving revision 1.5
diff -u -r1.5 sprintf.c
--- libc/stdio/sprintf.c	22 Aug 2003 18:52:25 -0000	1.5
+++ libc/stdio/sprintf.c	17 Oct 2003 21:48:28 -0000
@@ -250,24 +250,24 @@
 
 		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;
Index: libc/stdio/sscanf.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdio/sscanf.c,v
retrieving revision 1.5
diff -u -r1.5 sscanf.c
--- libc/stdio/sscanf.c	22 Aug 2003 18:52:25 -0000	1.5
+++ libc/stdio/sscanf.c	17 Oct 2003 21:48:28 -0000
@@ -234,11 +234,11 @@
 		<<(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
Index: libc/stdlib/atof.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdlib/atof.c,v
retrieving revision 1.2
diff -u -r1.2 atof.c
--- libc/stdlib/atof.c	6 Dec 2002 18:58:51 -0000	1.2
+++ libc/stdlib/atof.c	17 Oct 2003 21:48:28 -0000
@@ -25,7 +25,7 @@
 <<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
Index: libc/stdlib/div.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdlib/div.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 div.c
--- libc/stdlib/div.c	17 Feb 2000 19:39:47 -0000	1.1.1.1
+++ libc/stdlib/div.c	17 Oct 2003 21:48:28 -0000
@@ -19,9 +19,9 @@
 @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
Index: libc/stdlib/ldiv.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdlib/ldiv.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ldiv.c
--- libc/stdlib/ldiv.c	17 Feb 2000 19:39:47 -0000	1.1.1.1
+++ libc/stdlib/ldiv.c	17 Oct 2003 21:48:28 -0000
@@ -19,9 +19,9 @@
 @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
Index: libc/stdlib/ldtoa.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdlib/ldtoa.c,v
retrieving revision 1.8
diff -u -r1.8 ldtoa.c
--- libc/stdlib/ldtoa.c	3 Feb 2003 21:29:45 -0000	1.8
+++ libc/stdlib/ldtoa.c	17 Oct 2003 21:48:28 -0000
@@ -44,7 +44,7 @@
  /* 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
Index: libm/common/s_expm1.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/common/s_expm1.c,v
retrieving revision 1.2
diff -u -r1.2 s_expm1.c
--- libm/common/s_expm1.c	26 May 2000 22:42:38 -0000	1.2
+++ libm/common/s_expm1.c	17 Oct 2003 21:48:28 -0000
@@ -35,9 +35,9 @@
 DESCRIPTION
 	<<expm1>> and <<expm1f>> calculate the exponential of <[x]>
 	and subtract 1, that is,
-	@ifinfo
+	@ifnottex
 	e raised to the power <[x]> minus 1 (where e
-	@end ifinfo
+	@end ifnottex
 	@tex
 	$e^x - 1$ (where $e$
 	@end tex
Index: libm/common/s_ilogb.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/common/s_ilogb.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_ilogb.c
--- libm/common/s_ilogb.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/common/s_ilogb.c	17 Oct 2003 21:48:28 -0000
@@ -13,7 +13,7 @@
 
 /*
 FUNCTION
-       <<ilogb>>, <<ilogbf>>---get exponent of floating point number
+       <<ilogb>>, <<ilogbf>>---get exponent of floating-point number
 INDEX
 	ilogb
 INDEX
@@ -35,7 +35,7 @@
 
 DESCRIPTION
 
-	All non zero, normal numbers can be described as <[m]> *
+	All nonzero, normal numbers can be described as <[m]> *
 	2**<[p]>.  <<ilogb>> and <<ilogbf>> examine the argument
 	<[val]>, and return <[p]>.  The functions <<frexp>> and
 	<<frexpf>> are similar to <<ilogb>> and <<ilogbf>>, but also
@@ -44,7 +44,7 @@
 RETURNS
 
 <<ilogb>> and <<ilogbf>> return the power of two used to form the
-floating point argument.  If <[val]> is <<0>>, they return <<-
+floating-point argument.  If <[val]> is <<0>>, they return <<-
 INT_MAX>> (<<INT_MAX>> is defined in limits.h).  If <[val]> is
 infinite, or NaN, they return <<INT_MAX>>.
 
Index: libm/common/s_infinity.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/common/s_infinity.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_infinity.c
--- libm/common/s_infinity.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/common/s_infinity.c	17 Oct 2003 21:48:28 -0000
@@ -25,8 +25,8 @@
 
 DESCRIPTION
 	<<infinity>> and <<infinityf>> return the special number IEEE
-	infinity in double and single precision arithmetic
-	respectivly.
+	infinity in double- and single-precision arithmetic
+	respectively.
 
 QUICKREF
 	infinity - pure
Index: libm/common/s_nan.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/common/s_nan.c,v
retrieving revision 1.2
diff -u -r1.2 s_nan.c
--- libm/common/s_nan.c	9 Jul 2003 17:52:31 -0000	1.2
+++ libm/common/s_nan.c	17 Oct 2003 21:48:28 -0000
@@ -5,7 +5,7 @@
 
 /*
 FUNCTION
-	<<nan>>, <<nanf>>---representation of infinity
+	<<nan>>, <<nanf>>---representation of ``Not a Number''
 
 INDEX
 	nan
@@ -25,7 +25,7 @@
 
 DESCRIPTION
 	<<nan>> and <<nanf>> return an IEEE NaN (Not a Number) in
-	double and single precision arithmetic respectivly.  The
+	double- and single-precision arithmetic respectively.  The
 	argument is currently disregarded.
 
 QUICKREF
Index: libm/common/s_nextafter.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/common/s_nextafter.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_nextafter.c
--- libm/common/s_nextafter.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/common/s_nextafter.c	17 Oct 2003 21:48:28 -0000
@@ -38,7 +38,7 @@
 
 
 DESCRIPTION
-<<nextafter>> returns the double) precision floating point number
+<<nextafter>> returns the double-precision floating-point number
 closest to <[val]> in the direction toward <[dir]>.  <<nextafterf>>
 performs the same operation in single precision.  For example,
 <<nextafter(0.0,1.0)>> returns the smallest positive number which is
Index: libm/common/s_scalbn.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/common/s_scalbn.c,v
retrieving revision 1.2
diff -u -r1.2 s_scalbn.c
--- libm/common/s_scalbn.c	26 May 2000 22:42:38 -0000	1.2
+++ libm/common/s_scalbn.c	17 Oct 2003 21:48:28 -0000
@@ -13,7 +13,7 @@
 
 /*
 FUNCTION
-<<scalbn>>, <<scalbnf>>---scale by integer
+<<scalbn>>, <<scalbnf>>---scale by power of two
 INDEX
 	scalbn
 INDEX
Index: libm/math/e_pow.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/e_pow.c,v
retrieving revision 1.3
diff -u -r1.3 e_pow.c
--- libm/math/e_pow.c	13 Jun 2002 23:03:01 -0000	1.3
+++ libm/math/e_pow.c	17 Oct 2003 21:48:28 -0000
@@ -18,7 +18,7 @@
  *	1. Compute and return log2(x) in two pieces:
  *		log2(x) = w1 + w2,
  *	   where w1 has 53-24 = 29 bit trailing zeros.
- *	2. Perform y*log2(x) = n+y' by simulating muti-precision 
+ *	2. Perform y*log2(x) = n+y' by simulating multi-precision 
  *	   arithmetic, where |y'|<=0.5.
  *	3. Return x**y = 2**n*exp(y'*log2)
  *
Index: libm/math/math.tex
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/math.tex,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 math.tex
--- libm/math/math.tex	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/math.tex	17 Oct 2003 21:48:28 -0000
@@ -102,7 +102,7 @@
 called, but warning message are not printed.
 
 In SVID mode, functions which overflow return 3.40282346638528860e+38,
-the maximum single precision floating point value, rather than infinity.
+the maximum single-precision floating-point value, rather than infinity.
 Also, @code{errno} is set correctly, @code{matherr} is called, and, if
 @code{matherr} returns 0, warning messages are printed for some errors.
 For example, by default @samp{log(-1.0)} writes this message on standard
Index: libm/math/s_asinh.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/s_asinh.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_asinh.c
--- libm/math/s_asinh.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/s_asinh.c	17 Oct 2003 21:48:28 -0000
@@ -36,9 +36,9 @@
 DESCRIPTION
 <<asinh>> calculates the inverse hyperbolic sine of <[x]>.
 <<asinh>> is defined as 
-@ifinfo
+@ifnottex
 . sgn(<[x]>) * log(abs(<[x]>) + sqrt(1+<[x]>*<[x]>))
-@end ifinfo
+@end ifnottex
 @tex
 $$sign(x) \times ln\Bigl(|x| + \sqrt{1+x^2}\Bigr)$$
 @end tex
Index: libm/math/s_atan.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/s_atan.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_atan.c
--- libm/math/s_atan.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/s_atan.c	17 Oct 2003 21:48:28 -0000
@@ -41,9 +41,9 @@
 <<atanf>> is identical to <<atan>>, save that it operates on <<floats>>.
 
 RETURNS
-@ifinfo
+@ifnottex
 <<atan>> returns a value in radians, in the range of -pi/2 to pi/2.
-@end ifinfo
+@end ifnottex
 @tex
 <<atan>> returns a value in radians, in the range of $-\pi/2$ to $\pi/2$.
 @end tex
Index: libm/math/s_frexp.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/s_frexp.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_frexp.c
--- libm/math/s_frexp.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/s_frexp.c	17 Oct 2003 21:48:28 -0000
@@ -36,17 +36,17 @@
 
 
 DESCRIPTION
-	All non zero, normal numbers can be described as <[m]> * 2**<[p]>.
+	All nonzero, normal numbers can be described as <[m]> * 2**<[p]>.
 	<<frexp>> represents the double <[val]> as a mantissa <[m]>
 	and a power of two <[p]>. The resulting mantissa will always
 	be greater than or equal to <<0.5>>, and less than <<1.0>> (as
 	long as <[val]> is nonzero). The power of two will be stored
 	in <<*>><[exp]>. 
 
-@ifinfo
+@ifnottex
 <[m]> and <[p]> are calculated so that
 <[val]> is <[m]> times <<2>> to the power <[p]>.
-@end ifinfo
+@end ifnottex
 @tex
 <[m]> and <[p]> are calculated so that
 $ val = m \times 2^p $.
Index: libm/math/s_isnan.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/s_isnan.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_isnan.c
--- libm/math/s_isnan.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/s_isnan.c	17 Oct 2003 21:48:28 -0000
@@ -55,7 +55,7 @@
 
 
 DESCRIPTION
-	These functions provide information on the floating point
+	These functions provide information on the floating-point
 	argument supplied.
 
 	There are five major number formats - 
@@ -63,13 +63,13 @@
 	o zero
 	 a number which contains all zero bits.
 	o subnormal
-	 Is used to represent  number with a zero exponent, but a non zero fraction.
+	 Is used to represent  number with a zero exponent, but a nonzero fraction.
 	 o normal
 	  A number with an exponent, and a fraction
      	o infinity
 	  A number with an all 1's exponent and a zero fraction.
 	o NAN
-	  A number with an all 1's exponent and a non zero fraction.
+	  A number with an all 1's exponent and a nonzero fraction.
 
 	o-
 
@@ -79,7 +79,7 @@
 	
 	The <<isnanf>>, <<isinff>> and <<finitef>> perform the same
 	operations as their <<isnan>>, <<isinf>> and <<finite>>
-	counterparts, but on single precision floating point numbers.
+	counterparts, but on single-precision floating-point numbers.
 
 QUICKREF
 	isnan - pure
Index: libm/math/s_ldexp.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/s_ldexp.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_ldexp.c
--- libm/math/s_ldexp.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/s_ldexp.c	17 Oct 2003 21:48:28 -0000
@@ -39,9 +39,9 @@
 
 DESCRIPTION
 <<ldexp>> calculates the value 
-@ifinfo
+@ifnottex
 <[val]> times 2 to the power <[exp]>.
-@end ifinfo
+@end ifnottex
 @tex
 $val\times 2^{exp}$.
 @end tex
Index: libm/math/w_acos.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_acos.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_acos.c
--- libm/math/w_acos.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/w_acos.c	17 Oct 2003 21:48:28 -0000
@@ -44,9 +44,9 @@
 	its calculations on <<floats>>.
 
 RETURNS
-	@ifinfo
+	@ifnottex
 	<<acos>> and <<acosf>> return values in radians, in the range of 0 to pi.
-	@end ifinfo
+	@end ifnottex
 	@tex
 	<<acos>> and <<acosf>> return values in radians, in the range of <<0>> to $\pi$.
 	@end tex
Index: libm/math/w_acosh.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_acosh.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_acosh.c
--- libm/math/w_acosh.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/w_acosh.c	17 Oct 2003 21:48:28 -0000
@@ -37,9 +37,9 @@
 DESCRIPTION
 <<acosh>> calculates the inverse hyperbolic cosine of <[x]>.
 <<acosh>> is defined as 
-@ifinfo
+@ifnottex
 . log(<[x]> + sqrt(<[x]>*<[x]>-1))
-@end ifinfo
+@end ifnottex
 @tex
 $$ln\Bigl(x + \sqrt{x^2-1}\Bigr)$$
 @end tex
Index: libm/math/w_asin.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_asin.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_asin.c
--- libm/math/w_asin.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/w_asin.c	17 Oct 2003 21:48:28 -0000
@@ -46,9 +46,9 @@
 You can modify error handling for these routines using <<matherr>>. 
 
 RETURNS
-@ifinfo
+@ifnottex
 <<asin>> returns values in radians, in the range of -pi/2 to pi/2.
-@end ifinfo
+@end ifnottex
 @tex
 <<asin>> returns values in radians, in the range of $-\pi/2$ to $\pi/2$.
 @end tex
Index: libm/math/w_atan2.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_atan2.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_atan2.c
--- libm/math/w_atan2.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/w_atan2.c	17 Oct 2003 21:48:28 -0000
@@ -40,9 +40,9 @@
 
 <<atan2>> computes the inverse tangent (arc tangent) of <[y]>/<[x]>. 
 <<atan2>> produces the correct result even for angles near 
-@ifinfo
+@ifnottex
 pi/2 or -pi/2 
-@end ifinfo
+@end ifnottex
 @tex
 $\pi/2$ or $-\pi/2$
 @end tex
@@ -53,9 +53,9 @@
 
 RETURNS
 <<atan2>> and <<atan2f>> return a value in radians, in the range of 
-@ifinfo
+@ifnottex
 -pi to pi.
-@end ifinfo
+@end ifnottex
 @tex
 $-\pi$ to $\pi$.
 @end tex
Index: libm/math/w_atanh.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_atanh.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_atanh.c
--- libm/math/w_atanh.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/w_atanh.c	17 Oct 2003 21:48:28 -0000
@@ -43,9 +43,9 @@
 	<<atanh>> and <<atanhf>> return the calculated value.
 
 	If 
-	@ifinfo
+	@ifnottex
 	|<[x]>|
-	@end ifinfo
+	@end ifnottex
 	@tex
 	$|x|$
 	@end tex
@@ -53,9 +53,9 @@
 	the result is a NaN.  A <<DOMAIN error>> is reported.
 
 	If 
-	@ifinfo
+	@ifnottex
 	|<[x]>|
-	@end ifinfo
+	@end ifnottex
 	@tex
 	$|x|$
 	@end tex
Index: libm/math/w_cosh.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_cosh.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_cosh.c
--- libm/math/w_cosh.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/w_cosh.c	17 Oct 2003 21:48:28 -0000
@@ -33,9 +33,9 @@
 
 	<<cosh>> computes the hyperbolic cosine of the argument <[x]>.
 	<<cosh(<[x]>)>> is defined as 
-	@ifinfo
+	@ifnottex
 	. (exp(x) + exp(-x))/2
-	@end ifinfo
+	@end ifnottex
 	@tex
 	$${(e^x + e^{-x})} \over 2$$
 	@end tex
Index: libm/math/w_exp.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_exp.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_exp.c
--- libm/math/w_exp.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/w_exp.c	17 Oct 2003 21:48:28 -0000
@@ -34,9 +34,9 @@
 
 DESCRIPTION
 	<<exp>> and <<expf>> calculate the exponential of <[x]>, that is, 
-	@ifinfo
+	@ifnottex
 	e raised to the power <[x]> (where e
-	@end ifinfo
+	@end ifnottex
 	@tex
 	$e^x$ (where $e$
 	@end tex
Index: libm/math/w_exp2.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_exp2.c,v
retrieving revision 1.1
diff -u -r1.1 w_exp2.c
--- libm/math/w_exp2.c	7 Jun 2002 21:59:56 -0000	1.1
+++ libm/math/w_exp2.c	17 Oct 2003 21:48:28 -0000
@@ -34,8 +34,12 @@
 
 DESCRIPTION
 	<<exp2>> and <<exp2f>> calculate 2 ^ <[x]>, that is, 
-	@ifinfo
+	@ifnottex
 	2 raised to the power <[x]>.
+	@end ifnottex
+	@tex
+	$2^x$
+	@end tex
 
 	You can use the (non-ANSI) function <<matherr>> to specify
 	error handling for these functions.
Index: libm/math/w_fmod.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_fmod.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_fmod.c
--- libm/math/w_fmod.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/w_fmod.c	17 Oct 2003 21:48:28 -0000
@@ -39,9 +39,9 @@
 
 RETURNS
 The <<fmod>> function returns the value 
-@ifinfo
+@ifnottex
 <[x]>-<[i]>*<[y]>, 
-@end ifinfo
+@end ifnottex
 @tex
 $x-i\times y$,
 @end tex
Index: libm/math/w_gamma.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_gamma.c,v
retrieving revision 1.2
diff -u -r1.2 w_gamma.c
--- libm/math/w_gamma.c	3 Feb 2002 09:24:18 -0000	1.2
+++ libm/math/w_gamma.c	17 Oct 2003 21:48:28 -0000
@@ -76,9 +76,9 @@
 the natural logarithm of the gamma function of <[x]>.  The gamma function
 (<<exp(gamma(<[x]>))>>) is a generalization of factorial, and retains
 the property that  
-@ifinfo
+@ifnottex
 <<exp(gamma(N))>> is equivalent to <<N*exp(gamma(N-1))>>.
-@end ifinfo
+@end ifnottex
 @tex
 $\mit \Gamma(N)\equiv N\times\Gamma(N-1)$.
 @end tex
@@ -87,10 +87,10 @@
 @tex
 $\mit ln\bigl(\Gamma(x)\bigr)$ rather than simply $\mit \Gamma(x)$
 @end tex
-@ifinfo
+@ifnottex
 the natural log of the gamma function, rather than the gamma function
 itself, 
-@end ifinfo
+@end ifnottex
 to extend the useful range of results representable.
 
 The sign of the result is returned in the global variable <<signgam>>,
Index: libm/math/w_hypot.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_hypot.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_hypot.c
--- libm/math/w_hypot.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/w_hypot.c	17 Oct 2003 21:48:28 -0000
@@ -36,9 +36,9 @@
 	@tex
 	$\sqrt{x^2+y^2}$
 	@end tex
-	@ifinfo
+	@ifnottex
 	<<sqrt(<[x]>*<[x]> + <[y]>*<[y]>)>>
-	@end ifinfo
+	@end ifnottex
 	between the origin (0,0) and a point represented by the
 	Cartesian coordinates (<[x]>,<[y]>).  <<hypotf>> differs only
 	in the type of its arguments and result.
Index: libm/math/w_j0.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_j0.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_j0.c
--- libm/math/w_j0.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/w_j0.c	17 Oct 2003 21:48:28 -0000
@@ -91,10 +91,10 @@
 DESCRIPTION
 The Bessel functions are a family of functions that solve the
 differential equation 
-@ifinfo
+@ifnottex
 .  2               2    2
 . x  y'' + xy' + (x  - p )y  = 0
-@end ifinfo
+@end ifnottex
 @tex
 $$x^2{d^2y\over dx^2} + x{dy\over dx} + (x^2-p^2)y = 0$$
 @end tex
Index: libm/math/w_pow.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_pow.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_pow.c
--- libm/math/w_pow.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/w_pow.c	17 Oct 2003 21:48:28 -0000
@@ -35,7 +35,7 @@
 	float <[x]>, <[y]>;
 
 DESCRIPTION
-	<<pow>> and <<powf>> calculate <[x]> raised to the exp1.0nt <[y]>.
+	<<pow>> and <<powf>> calculate <[x]> raised to the exponent <[y]>.
 	@tex
 	(That is, $x^y$.)
 	@end tex
Index: libm/math/w_sinh.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/math/w_sinh.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_sinh.c
--- libm/math/w_sinh.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/math/w_sinh.c	17 Oct 2003 21:48:28 -0000
@@ -37,9 +37,9 @@
 DESCRIPTION
 	<<sinh>> computes the hyperbolic sine of the argument <[x]>.
 	Angles are specified in radians.   <<sinh>>(<[x]>) is defined as 
-	@ifinfo
+	@ifnottex
 	. (exp(<[x]>) - exp(-<[x]>))/2
-	@end ifinfo
+	@end ifnottex
 	@tex
 	$${e^x - e^{-x}}\over 2$$
 	@end tex
Index: libm/mathfp/e_acosh.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/e_acosh.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 e_acosh.c
--- libm/mathfp/e_acosh.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/mathfp/e_acosh.c	17 Oct 2003 21:48:28 -0000
@@ -26,9 +26,9 @@
 DESCRIPTION
 <<acosh>> calculates the inverse hyperbolic cosine of <[x]>.
 <<acosh>> is defined as
-@ifinfo
+@ifnottex
 . log(<[x]> + sqrt(<[x]>*<[x]>-1))
-@end ifinfo
+@end ifnottex
 @tex
 $$ln\Bigl(x + \sqrt{x^2-1}\Bigr)$$
 @end tex
Index: libm/mathfp/e_atanh.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/e_atanh.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 e_atanh.c
--- libm/mathfp/e_atanh.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/mathfp/e_atanh.c	17 Oct 2003 21:48:28 -0000
@@ -44,9 +44,9 @@
         <<atanh>> and <<atanhf>> return the calculated value.
 
         If
-        @ifinfo
+        @ifnottex
         |<[x]>|
-        @end ifinfo
+        @end ifnottex
         @tex
         $|x|$
         @end tex
@@ -54,9 +54,9 @@
         the result is a NaN.  A <<DOMAIN error>> is reported.
 
         If
-        @ifinfo
+        @ifnottex
         |<[x]>|
-        @end ifinfo
+        @end ifnottex
         @tex
         $|x|$
         @end tex
Index: libm/mathfp/e_hypot.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/e_hypot.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 e_hypot.c
--- libm/mathfp/e_hypot.c	17 Feb 2000 19:39:51 -0000	1.1.1.1
+++ libm/mathfp/e_hypot.c	17 Oct 2003 21:48:28 -0000
@@ -36,9 +36,9 @@
         @tex
         $\sqrt{x^2+y^2}$
         @end tex
-        @ifinfo
+        @ifnottex
         <<sqrt(<[x]>*<[x]> + <[y]>*<[y]>)>>
-        @end ifinfo
+        @end ifnottex
         between the origin (0,0) and a point represented by the
         Cartesian coordinates (<[x]>,<[y]>).  <<hypotf>> differs only
         in the type of its arguments and result.
Index: libm/mathfp/er_lgamma.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/er_lgamma.c,v
retrieving revision 1.2
diff -u -r1.2 er_lgamma.c
--- libm/mathfp/er_lgamma.c	27 Jun 2002 20:25:57 -0000	1.2
+++ libm/mathfp/er_lgamma.c	17 Oct 2003 21:48:28 -0000
@@ -76,9 +76,9 @@
 the natural logarithm of the gamma function of <[x]>.  The gamma function
 (<<exp(gamma(<[x]>))>>) is a generalization of factorial, and retains
 the property that
-@ifinfo
+@ifnottex
 <<exp(gamma(N))>> is equivalent to <<N*exp(gamma(N-1))>>.
-@end ifinfo
+@end ifnottex
 @tex
 $\mit \Gamma(N)\equiv N\times\Gamma(N-1)$.
 @end tex
@@ -87,10 +87,10 @@
 @tex
 $\mit ln\bigl(\Gamma(x)\bigr)$ rather than simply $\mit \Gamma(x)$
 @end tex
-@ifinfo
+@ifnottex
 the natural log of the gamma function, rather than the gamma function
 itself,
-@end ifinfo
+@end ifnottex
 to extend the useful range of results representable.
 
 The sign of the result is returned in the global variable <<signgam>>,
Index: libm/mathfp/mathfp.tex
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/mathfp.tex,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 mathfp.tex
--- libm/mathfp/mathfp.tex	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/mathfp.tex	17 Oct 2003 21:48:28 -0000
@@ -102,7 +102,7 @@
 called, but warning message are not printed.
 
 In SVID mode, functions which overflow return 3.40282346638528860e+38,
-the maximum single precision floating point value, rather than infinity.
+the maximum single-precision floating-point value, rather than infinity.
 Also, @code{errno} is set correctly, @code{matherr} is called, and, if
 @code{matherr} returns 0, warning messages are printed for some errors.
 For example, by default @samp{log(-1.0)} writes this message on standard
Index: libm/mathfp/s_acos.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_acos.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_acos.c
--- libm/mathfp/s_acos.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_acos.c	17 Oct 2003 21:48:28 -0000
@@ -34,10 +34,10 @@
         its calculations on <<floats>>.
 
 RETURNS
-        @ifinfo
+        @ifnottex
         <<acos>> and <<acosf>> return values in radians, in the range of 0 to pi
 .
-        @end ifinfo
+        @end ifnottex
         @tex
         <<acos>> and <<acosf>> return values in radians, in the range of <<0>> t
 o $\pi$.
Index: libm/mathfp/s_asine.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_asine.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_asine.c
--- libm/mathfp/s_asine.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_asine.c	17 Oct 2003 21:48:28 -0000
@@ -62,9 +62,9 @@
 than taking and returning floats.
 
 RETURNS
-@ifinfo
+@ifnottex
 <<asin>> and <<acos>> return values in radians, in the range of -pi/2 to pi/2.
-@end ifinfo
+@end ifnottex
 @tex
 <<asin>> and <<acos>> return values in radians, in the range of $-\pi/2$ to $\pi/2$.
 @end tex
Index: libm/mathfp/s_asinh.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_asinh.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_asinh.c
--- libm/mathfp/s_asinh.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_asinh.c	17 Oct 2003 21:48:28 -0000
@@ -36,9 +36,9 @@
 DESCRIPTION
 <<asinh>> calculates the inverse hyperbolic sine of <[x]>.
 <<asinh>> is defined as 
-@ifinfo
+@ifnottex
 . sgn(<[x]>) * log(abs(<[x]>) + sqrt(1+<[x]>*<[x]>))
-@end ifinfo
+@end ifnottex
 @tex
 $$sign(x) \times ln\Bigl(|x| + \sqrt{1+x^2}\Bigr)$$
 @end tex
Index: libm/mathfp/s_atan.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_atan.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_atan.c
--- libm/mathfp/s_atan.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_atan.c	17 Oct 2003 21:48:28 -0000
@@ -30,9 +30,9 @@
 <<atanf>> is identical to <<atan>>, save that it operates on <<floats>>.
 
 RETURNS
-@ifinfo
+@ifnottex
 <<atan>> returns a value in radians, in the range of -pi/2 to pi/2.
-@end ifinfo
+@end ifnottex
 @tex
 <<atan>> returns a value in radians, in the range of $-\pi/2$ to $\pi/2$.
 @end tex
Index: libm/mathfp/s_atan2.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_atan2.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_atan2.c
--- libm/mathfp/s_atan2.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_atan2.c	17 Oct 2003 21:48:28 -0000
@@ -29,9 +29,9 @@
 
 <<atan2>> computes the inverse tangent (arc tangent) of <[y]>/<[x]>.
 <<atan2>> produces the correct result even for angles near
-@ifinfo
+@ifnottex
 pi/2 or -pi/2
-@end ifinfo
+@end ifnottex
 @tex
 $\pi/2$ or $-\pi/2$
 @end tex
@@ -42,9 +42,9 @@
 
 RETURNS
 <<atan2>> and <<atan2f>> return a value in radians, in the range of
-@ifinfo
+@ifnottex
 -pi to pi.
-@end ifinfo
+@end ifnottex
 @tex
 $-\pi$ to $\pi$.
 @end tex
Index: libm/mathfp/s_atangent.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_atangent.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_atangent.c
--- libm/mathfp/s_atangent.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_atangent.c	17 Oct 2003 21:48:28 -0000
@@ -55,10 +55,10 @@
 <<atanf>> is identical to <<atan>>, save that it operates on <<floats>>.
 
 RETURNS
-@ifinfo
+@ifnottex
 <<atan>> returns a value in radians, in the range of -pi/2 to pi/2.
 <<atan2>> returns a value in radians, in the range of -pi/2 to pi/2.
-@end ifinfo
+@end ifnottex
 @tex
 <<atan>> returns a value in radians, in the range of $-\pi/2$ to $\pi/2$.
 <<atan2>> returns a value in radians, in the range of $-\pi/2$ to $\pi/2$.
Index: libm/mathfp/s_cosh.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_cosh.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_cosh.c
--- libm/mathfp/s_cosh.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_cosh.c	17 Oct 2003 21:48:28 -0000
@@ -23,9 +23,9 @@
 
         <<cosh>> computes the hyperbolic cosine of the argument <[x]>.
         <<cosh(<[x]>)>> is defined as
-        @ifinfo
+        @ifnottex
         . (exp(x) + exp(-x))/2
-        @end ifinfo
+        @end ifnottex
         @tex
         $${(e^x + e^{-x})} \over 2$$
         @end tex
Index: libm/mathfp/s_exp.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_exp.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_exp.c
--- libm/mathfp/s_exp.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_exp.c	17 Oct 2003 21:48:28 -0000
@@ -30,9 +30,9 @@
 
 DESCRIPTION
         <<exp>> and <<expf>> calculate the exponential of <[x]>, that is,
-        @ifinfo
+        @ifnottex
         e raised to the power <[x]> (where e
-        @end ifinfo
+        @end ifnottex
         @tex
         $e^x$ (where $e$
         @end tex
Index: libm/mathfp/s_fmod.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_fmod.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_fmod.c
--- libm/mathfp/s_fmod.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_fmod.c	17 Oct 2003 21:48:28 -0000
@@ -39,9 +39,9 @@
 
 RETURNS
 The <<fmod>> function returns the value
-@ifinfo
+@ifnottex
 <[x]>-<[i]>*<[y]>,
-@end ifinfo
+@end ifnottex
 @tex
 $x-i\times y$,
 @end tex
Index: libm/mathfp/s_frexp.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_frexp.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_frexp.c
--- libm/mathfp/s_frexp.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_frexp.c	17 Oct 2003 21:48:28 -0000
@@ -26,17 +26,17 @@
 
 
 DESCRIPTION
-        All non zero, normal numbers can be described as <[m]> * 2**<[p]>.
+        All nonzero, normal numbers can be described as <[m]> * 2**<[p]>.
         <<frexp>> represents the double <[val]> as a mantissa <[m]>
         and a power of two <[p]>. The resulting mantissa will always
         be greater than or equal to <<0.5>>, and less than <<1.0>> (as
         long as <[val]> is nonzero). The power of two will be stored
         in <<*>><[exp]>.
 
-@ifinfo
+@ifnottex
 <[m]> and <[p]> are calculated so that
 <[val]> is <[m]> times <<2>> to the power <[p]>.
-@end ifinfo
+@end ifnottex
 @tex
 <[m]> and <[p]> are calculated so that
 $ val = m \times 2^p $.
Index: libm/mathfp/s_isnan.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_isnan.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_isnan.c
--- libm/mathfp/s_isnan.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_isnan.c	17 Oct 2003 21:48:28 -0000
@@ -46,7 +46,7 @@
 
 
 DESCRIPTION
-        These functions provide information on the floating point
+        These functions provide information on the floating-point
         argument supplied.
 
         There are five major number formats -
@@ -54,14 +54,14 @@
         o zero
          a number which contains all zero bits.
         o subnormal
-         Is used to represent  number with a zero exponent, but a non zero fract
+         Is used to represent  number with a zero exponent, but a nonzero fract
 ion.
          o normal
           A number with an exponent, and a fraction
         o infinity
           A number with an all 1's exponent and a zero fraction.
         o NAN
-          A number with an all 1's exponent and a non zero fraction.
+          A number with an all 1's exponent and a nonzero fraction.
 
         o-
 
@@ -71,7 +71,7 @@
 
         The <<isnanf>>, <<isinff>> and <<finitef>> perform the same
         operations as their <<isnan>>, <<isinf>> and <<finite>>
-        counterparts, but on single precision floating point numbers.
+        counterparts, but on single-precision floating-point numbers.
 
 QUICKREF
         isnan - pure
@@ -92,7 +92,7 @@
  * isnan
  *
  * Input:
- *   x - pointer to a floating point value
+ *   x - pointer to a floating-point value
  *
  * Output:
  *   An integer that indicates if the number is NaN.
Index: libm/mathfp/s_ldexp.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_ldexp.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_ldexp.c
--- libm/mathfp/s_ldexp.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_ldexp.c	17 Oct 2003 21:48:28 -0000
@@ -28,9 +28,9 @@
 
 DESCRIPTION
 <<ldexp>> calculates the value
-@ifinfo
+@ifnottex
 <[val]> times 2 to the power <[exp]>.
-@end ifinfo
+@end ifnottex
 @tex
 $val\times 2^{exp}$.
 @end tex
Index: libm/mathfp/s_pow.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_pow.c,v
retrieving revision 1.2
diff -u -r1.2 s_pow.c
--- libm/mathfp/s_pow.c	27 Jun 2002 20:41:49 -0000	1.2
+++ libm/mathfp/s_pow.c	17 Oct 2003 21:48:28 -0000
@@ -24,7 +24,7 @@
         float <[x]>, <[y]>;
 
 DESCRIPTION
-        <<pow>> and <<powf>> calculate <[x]> raised to the exp1.0nt <[y]>.
+        <<pow>> and <<powf>> calculate <[x]> raised to the exponent <[y]>.
         @tex
         (That is, $x^y$.)
         @end tex
Index: libm/mathfp/s_sineh.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/s_sineh.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 s_sineh.c
--- libm/mathfp/s_sineh.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/s_sineh.c	17 Oct 2003 21:48:28 -0000
@@ -44,16 +44,16 @@
         <<sinh>> and <<cosh>> compute the hyperbolic sine or cosine
         of the argument <[x]>.
         Angles are specified in radians.   <<sinh>>(<[x]>) is defined as
-        @ifinfo
+        @ifnottex
         . (exp(<[x]>) - exp(-<[x]>))/2
-        @end ifinfo
+        @end ifnottex
         @tex
         $${e^x - e^{-x}}\over 2$$
         @end tex
         <<cosh>> is defined as
-        @ifinfo
+        @ifnottex
         . (exp(<[x]>) - exp(-<[x]>))/2
-        @end ifinfo
+        @end ifnottex
         @tex
         $${e^x + e^{-x}}\over 2$$
         @end tex
Index: libm/mathfp/w_jn.c
===================================================================
RCS file: /cvs/src/src/newlib/libm/mathfp/w_jn.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 w_jn.c
--- libm/mathfp/w_jn.c	17 Feb 2000 19:39:52 -0000	1.1.1.1
+++ libm/mathfp/w_jn.c	17 Oct 2003 21:48:28 -0000
@@ -91,10 +91,10 @@
 DESCRIPTION
 The Bessel functions are a family of functions that solve the
 differential equation
-@ifinfo
+@ifnottex
 .  2               2    2
 . x  y'' + xy' + (x  - p )y  = 0
-@end ifinfo
+@end ifnottex
 @tex
 $$x^2{d^2y\over dx^2} + x{dy\over dx} + (x^2-p^2)y = 0$$
 @end tex

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]