diff options
Diffstat (limited to 'newlib/libm/mathfp')
-rw-r--r-- | newlib/libm/mathfp/e_acosh.c | 4 | ||||
-rw-r--r-- | newlib/libm/mathfp/e_atanh.c | 8 | ||||
-rw-r--r-- | newlib/libm/mathfp/e_hypot.c | 4 | ||||
-rw-r--r-- | newlib/libm/mathfp/er_lgamma.c | 8 | ||||
-rw-r--r-- | newlib/libm/mathfp/mathfp.tex | 2 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_acos.c | 4 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_asine.c | 4 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_asinh.c | 4 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_atan.c | 4 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_atan2.c | 8 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_atangent.c | 4 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_cosh.c | 4 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_exp.c | 4 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_fmod.c | 4 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_frexp.c | 6 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_isnan.c | 10 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_ldexp.c | 4 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_pow.c | 2 | ||||
-rw-r--r-- | newlib/libm/mathfp/s_sineh.c | 8 | ||||
-rw-r--r-- | newlib/libm/mathfp/w_jn.c | 4 |
20 files changed, 50 insertions, 50 deletions
diff --git a/newlib/libm/mathfp/e_acosh.c b/newlib/libm/mathfp/e_acosh.c index a48420304..c2bf52890 100644 --- a/newlib/libm/mathfp/e_acosh.c +++ b/newlib/libm/mathfp/e_acosh.c @@ -26,9 +26,9 @@ TRAD_SYNOPSIS 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 diff --git a/newlib/libm/mathfp/e_atanh.c b/newlib/libm/mathfp/e_atanh.c index 1ab311df4..fb233e5d4 100644 --- a/newlib/libm/mathfp/e_atanh.c +++ b/newlib/libm/mathfp/e_atanh.c @@ -44,9 +44,9 @@ RETURNS <<atanh>> and <<atanhf>> return the calculated value. If - @ifinfo + @ifnottex |<[x]>| - @end ifinfo + @end ifnottex @tex $|x|$ @end tex @@ -54,9 +54,9 @@ RETURNS the result is a NaN. A <<DOMAIN error>> is reported. If - @ifinfo + @ifnottex |<[x]>| - @end ifinfo + @end ifnottex @tex $|x|$ @end tex diff --git a/newlib/libm/mathfp/e_hypot.c b/newlib/libm/mathfp/e_hypot.c index d93263ea4..713aa77c2 100644 --- a/newlib/libm/mathfp/e_hypot.c +++ b/newlib/libm/mathfp/e_hypot.c @@ -36,9 +36,9 @@ DESCRIPTION @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. diff --git a/newlib/libm/mathfp/er_lgamma.c b/newlib/libm/mathfp/er_lgamma.c index 8b754764d..65d60026e 100644 --- a/newlib/libm/mathfp/er_lgamma.c +++ b/newlib/libm/mathfp/er_lgamma.c @@ -76,9 +76,9 @@ $\mit ln\bigl(\Gamma(x)\bigr)$, 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 @@ quickly. <<gamma>> is defined as @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>>, diff --git a/newlib/libm/mathfp/mathfp.tex b/newlib/libm/mathfp/mathfp.tex index e7f897a97..6286405a0 100644 --- a/newlib/libm/mathfp/mathfp.tex +++ b/newlib/libm/mathfp/mathfp.tex @@ -102,7 +102,7 @@ In X/Open mode, @code{errno} is set correctly, and @code{matherr} is 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 diff --git a/newlib/libm/mathfp/s_acos.c b/newlib/libm/mathfp/s_acos.c index e03344e7d..88d59372d 100644 --- a/newlib/libm/mathfp/s_acos.c +++ b/newlib/libm/mathfp/s_acos.c @@ -34,10 +34,10 @@ DESCRIPTION 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$. diff --git a/newlib/libm/mathfp/s_asine.c b/newlib/libm/mathfp/s_asine.c index efc0a8130..89a2bed5e 100644 --- a/newlib/libm/mathfp/s_asine.c +++ b/newlib/libm/mathfp/s_asine.c @@ -62,9 +62,9 @@ Arguments to <<asin>> and <<acos>> must be in the range @minus{}1 to 1. 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 diff --git a/newlib/libm/mathfp/s_asinh.c b/newlib/libm/mathfp/s_asinh.c index 43b9d49fa..d70cc61db 100644 --- a/newlib/libm/mathfp/s_asinh.c +++ b/newlib/libm/mathfp/s_asinh.c @@ -36,9 +36,9 @@ TRAD_SYNOPSIS 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 diff --git a/newlib/libm/mathfp/s_atan.c b/newlib/libm/mathfp/s_atan.c index b8e633e3d..a5a818979 100644 --- a/newlib/libm/mathfp/s_atan.c +++ b/newlib/libm/mathfp/s_atan.c @@ -30,9 +30,9 @@ DESCRIPTION <<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 diff --git a/newlib/libm/mathfp/s_atan2.c b/newlib/libm/mathfp/s_atan2.c index d73a6efc0..60034b3ad 100644 --- a/newlib/libm/mathfp/s_atan2.c +++ b/newlib/libm/mathfp/s_atan2.c @@ -29,9 +29,9 @@ DESCRIPTION <<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 @@ $\pi/2$ or $-\pi/2$ 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 diff --git a/newlib/libm/mathfp/s_atangent.c b/newlib/libm/mathfp/s_atangent.c index c6f3c9bd6..981e1c822 100644 --- a/newlib/libm/mathfp/s_atangent.c +++ b/newlib/libm/mathfp/s_atangent.c @@ -55,10 +55,10 @@ DESCRIPTION <<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$. diff --git a/newlib/libm/mathfp/s_cosh.c b/newlib/libm/mathfp/s_cosh.c index 6550e9ce7..24b542092 100644 --- a/newlib/libm/mathfp/s_cosh.c +++ b/newlib/libm/mathfp/s_cosh.c @@ -23,9 +23,9 @@ DESCRIPTION <<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 diff --git a/newlib/libm/mathfp/s_exp.c b/newlib/libm/mathfp/s_exp.c index 8c7f723fe..e70699b06 100644 --- a/newlib/libm/mathfp/s_exp.c +++ b/newlib/libm/mathfp/s_exp.c @@ -30,9 +30,9 @@ TRAD_SYNOPSIS 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 diff --git a/newlib/libm/mathfp/s_fmod.c b/newlib/libm/mathfp/s_fmod.c index 3af7300da..ec86376af 100644 --- a/newlib/libm/mathfp/s_fmod.c +++ b/newlib/libm/mathfp/s_fmod.c @@ -39,9 +39,9 @@ remainder of <[x]>/<[y]> (<[x]> modulo <[y]>). RETURNS The <<fmod>> function returns the value -@ifinfo +@ifnottex <[x]>-<[i]>*<[y]>, -@end ifinfo +@end ifnottex @tex $x-i\times y$, @end tex diff --git a/newlib/libm/mathfp/s_frexp.c b/newlib/libm/mathfp/s_frexp.c index 6145c472f..08611e9a7 100644 --- a/newlib/libm/mathfp/s_frexp.c +++ b/newlib/libm/mathfp/s_frexp.c @@ -26,17 +26,17 @@ TRAD_SYNOPSIS 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 $. diff --git a/newlib/libm/mathfp/s_isnan.c b/newlib/libm/mathfp/s_isnan.c index 776baa239..03cfeee59 100644 --- a/newlib/libm/mathfp/s_isnan.c +++ b/newlib/libm/mathfp/s_isnan.c @@ -46,7 +46,7 @@ TRAD_SYNOPSIS 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 @@ DESCRIPTION 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 @@ ion. 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 @@ QUICKREF * 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. diff --git a/newlib/libm/mathfp/s_ldexp.c b/newlib/libm/mathfp/s_ldexp.c index 97d8a3ba5..5ce2710ac 100644 --- a/newlib/libm/mathfp/s_ldexp.c +++ b/newlib/libm/mathfp/s_ldexp.c @@ -28,9 +28,9 @@ TRAD_SYNOPSIS 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 diff --git a/newlib/libm/mathfp/s_pow.c b/newlib/libm/mathfp/s_pow.c index b4b6c8958..3514510d0 100644 --- a/newlib/libm/mathfp/s_pow.c +++ b/newlib/libm/mathfp/s_pow.c @@ -24,7 +24,7 @@ TRAD_SYNOPSIS 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 diff --git a/newlib/libm/mathfp/s_sineh.c b/newlib/libm/mathfp/s_sineh.c index 6b3480d73..6f5e208b0 100644 --- a/newlib/libm/mathfp/s_sineh.c +++ b/newlib/libm/mathfp/s_sineh.c @@ -44,16 +44,16 @@ DESCRIPTION <<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 diff --git a/newlib/libm/mathfp/w_jn.c b/newlib/libm/mathfp/w_jn.c index 6806f01d9..bd7878104 100644 --- a/newlib/libm/mathfp/w_jn.c +++ b/newlib/libm/mathfp/w_jn.c @@ -91,10 +91,10 @@ float <[x]>; 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 |