From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78323 invoked by alias); 1 Dec 2017 09:44:17 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 78298 invoked by uid 9642); 1 Dec 2017 09:44:16 -0000 Date: Fri, 01 Dec 2017 09:44:00 -0000 Message-ID: <20171201094416.78296.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Yaakov Selkowitz To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] math: remove TRAD_SYNOPSIS X-Act-Checkin: newlib-cygwin X-Git-Author: Yaakov Selkowitz X-Git-Refname: refs/heads/master X-Git-Oldrev: 59822e777f4221be40745ed0ec087ea3e9bc65d4 X-Git-Newrev: ec4c079f4b2c5719851e80cfc02495008aff8bf5 X-SW-Source: 2017-q4/txt/msg00069.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=ec4c079f4b2c5719851e80cfc02495008aff8bf5 commit ec4c079f4b2c5719851e80cfc02495008aff8bf5 Author: Yaakov Selkowitz Date: Thu Nov 30 02:45:57 2017 -0600 math: remove TRAD_SYNOPSIS Signed-off-by: Yaakov Selkowitz Diff: --- newlib/libm/math/s_asinh.c | 10 +--------- newlib/libm/math/s_atan.c | 10 +--------- newlib/libm/math/s_erf.c | 16 +--------------- newlib/libm/math/s_fabs.c | 10 +--------- newlib/libm/math/s_floor.c | 13 +------------ newlib/libm/math/s_frexp.c | 13 +------------ newlib/libm/math/s_ldexp.c | 14 +------------- newlib/libm/math/s_sin.c | 14 +------------- newlib/libm/math/s_tan.c | 11 +---------- newlib/libm/math/s_tanh.c | 11 +---------- newlib/libm/math/w_acos.c | 12 +----------- newlib/libm/math/w_acosh.c | 10 +--------- newlib/libm/math/w_asin.c | 11 +---------- newlib/libm/math/w_atan2.c | 12 +----------- newlib/libm/math/w_atanh.c | 10 +--------- newlib/libm/math/w_cosh.c | 10 +--------- newlib/libm/math/w_exp.c | 10 +--------- newlib/libm/math/w_exp2.c | 2 +- newlib/libm/math/w_fmod.c | 10 +--------- newlib/libm/math/w_gamma.c | 29 +---------------------------- newlib/libm/math/w_hypot.c | 9 +-------- newlib/libm/math/w_j0.c | 35 +---------------------------------- newlib/libm/math/w_log.c | 10 +--------- newlib/libm/math/w_log10.c | 10 +--------- newlib/libm/math/w_pow.c | 10 +--------- newlib/libm/math/w_remainder.c | 9 +-------- newlib/libm/math/w_sinh.c | 10 +--------- newlib/libm/math/w_sqrt.c | 7 +------ 28 files changed, 28 insertions(+), 310 deletions(-) diff --git a/newlib/libm/math/s_asinh.c b/newlib/libm/math/s_asinh.c index b7e173c..711bade 100644 --- a/newlib/libm/math/s_asinh.c +++ b/newlib/libm/math/s_asinh.c @@ -20,19 +20,11 @@ INDEX INDEX asinhf -ANSI_SYNOPSIS +SYNOPSIS #include double asinh(double <[x]>); float asinhf(float <[x]>); -TRAD_SYNOPSIS - #include - double asinh(<[x]>) - double <[x]>; - - float asinhf(<[x]>) - float <[x]>; - DESCRIPTION <> calculates the inverse hyperbolic sine of <[x]>. <> is defined as diff --git a/newlib/libm/math/s_atan.c b/newlib/libm/math/s_atan.c index c52a09d..d9dd8b0 100644 --- a/newlib/libm/math/s_atan.c +++ b/newlib/libm/math/s_atan.c @@ -21,19 +21,11 @@ INDEX INDEX atanf -ANSI_SYNOPSIS +SYNOPSIS #include double atan(double <[x]>); float atanf(float <[x]>); -TRAD_SYNOPSIS - #include - double atan(<[x]>); - double <[x]>; - - float atanf(<[x]>); - float <[x]>; - DESCRIPTION <> computes the inverse tangent (arc tangent) of the input value. diff --git a/newlib/libm/math/s_erf.c b/newlib/libm/math/s_erf.c index 825309d..eb288fc 100644 --- a/newlib/libm/math/s_erf.c +++ b/newlib/libm/math/s_erf.c @@ -23,26 +23,12 @@ INDEX INDEX erfcf -ANSI_SYNOPSIS +SYNOPSIS #include double erf(double <[x]>); float erff(float <[x]>); double erfc(double <[x]>); float erfcf(float <[x]>); -TRAD_SYNOPSIS - #include - - double erf(<[x]>) - double <[x]>; - - float erff(<[x]>) - float <[x]>; - - double erfc(<[x]>) - double <[x]>; - - float erfcf(<[x]>) - float <[x]>; DESCRIPTION <> calculates an approximation to the ``error function'', diff --git a/newlib/libm/math/s_fabs.c b/newlib/libm/math/s_fabs.c index 95b871c..2a6b5b4 100644 --- a/newlib/libm/math/s_fabs.c +++ b/newlib/libm/math/s_fabs.c @@ -19,19 +19,11 @@ INDEX INDEX fabsf -ANSI_SYNOPSIS +SYNOPSIS #include double fabs(double <[x]>); float fabsf(float <[x]>); -TRAD_SYNOPSIS - #include - double fabs(<[x]>) - double <[x]>; - - float fabsf(<[x]>) - float <[x]>; - DESCRIPTION <> and <> calculate @tex diff --git a/newlib/libm/math/s_floor.c b/newlib/libm/math/s_floor.c index 65e234e..f954422 100644 --- a/newlib/libm/math/s_floor.c +++ b/newlib/libm/math/s_floor.c @@ -23,24 +23,13 @@ INDEX INDEX ceilf -ANSI_SYNOPSIS +SYNOPSIS #include double floor(double <[x]>); float floorf(float <[x]>); double ceil(double <[x]>); float ceilf(float <[x]>); -TRAD_SYNOPSIS - #include - double floor(<[x]>) - double <[x]>; - float floorf(<[x]>) - float <[x]>; - double ceil(<[x]>) - double <[x]>; - float ceilf(<[x]>) - float <[x]>; - DESCRIPTION <> and <> find @tex diff --git a/newlib/libm/math/s_frexp.c b/newlib/libm/math/s_frexp.c index 5a396c7..284e338 100644 --- a/newlib/libm/math/s_frexp.c +++ b/newlib/libm/math/s_frexp.c @@ -19,22 +19,11 @@ INDEX INDEX frexpf -ANSI_SYNOPSIS +SYNOPSIS #include double frexp(double <[val]>, int *<[exp]>); float frexpf(float <[val]>, int *<[exp]>); -TRAD_SYNOPSIS - #include - double frexp(<[val]>, <[exp]>) - double <[val]>; - int *<[exp]>; - - float frexpf(<[val]>, <[exp]>) - float <[val]>; - int *<[exp]>; - - DESCRIPTION All nonzero, normal numbers can be described as <[m]> * 2**<[p]>. <> represents the double <[val]> as a mantissa <[m]> diff --git a/newlib/libm/math/s_ldexp.c b/newlib/libm/math/s_ldexp.c index adc7d5d..89ba3d0 100644 --- a/newlib/libm/math/s_ldexp.c +++ b/newlib/libm/math/s_ldexp.c @@ -20,23 +20,11 @@ INDEX INDEX ldexpf -ANSI_SYNOPSIS +SYNOPSIS #include double ldexp(double <[val]>, int <[exp]>); float ldexpf(float <[val]>, int <[exp]>); -TRAD_SYNOPSIS - #include - - double ldexp(<[val]>, <[exp]>) - double <[val]>; - int <[exp]>; - - float ldexpf(<[val]>, <[exp]>) - float <[val]>; - int <[exp]>; - - DESCRIPTION <> calculates the value @ifnottex diff --git a/newlib/libm/math/s_sin.c b/newlib/libm/math/s_sin.c index 28259f3..7ef0a6f 100644 --- a/newlib/libm/math/s_sin.c +++ b/newlib/libm/math/s_sin.c @@ -22,25 +22,13 @@ INDEX cos INDEX cosf -ANSI_SYNOPSIS +SYNOPSIS #include double sin(double <[x]>); float sinf(float <[x]>); double cos(double <[x]>); float cosf(float <[x]>); -TRAD_SYNOPSIS - #include - double sin(<[x]>) - double <[x]>; - float sinf(<[x]>) - float <[x]>; - - double cos(<[x]>) - double <[x]>; - float cosf(<[x]>) - float <[x]>; - DESCRIPTION <> and <> compute (respectively) the sine and cosine of the argument <[x]>. Angles are specified in radians. diff --git a/newlib/libm/math/s_tan.c b/newlib/libm/math/s_tan.c index 2959f41..78fb01d 100644 --- a/newlib/libm/math/s_tan.c +++ b/newlib/libm/math/s_tan.c @@ -22,20 +22,11 @@ tan INDEX tanf -ANSI_SYNOPSIS +SYNOPSIS #include double tan(double <[x]>); float tanf(float <[x]>); -TRAD_SYNOPSIS - #include - double tan(<[x]>) - double <[x]>; - - float tanf(<[x]>) - float <[x]>; - - DESCRIPTION <> computes the tangent of the argument <[x]>. Angles are specified in radians. diff --git a/newlib/libm/math/s_tanh.c b/newlib/libm/math/s_tanh.c index b5541d0..f786430 100644 --- a/newlib/libm/math/s_tanh.c +++ b/newlib/libm/math/s_tanh.c @@ -21,20 +21,11 @@ tanh INDEX tanhf -ANSI_SYNOPSIS +SYNOPSIS #include double tanh(double <[x]>); float tanhf(float <[x]>); -TRAD_SYNOPSIS - #include - double tanh(<[x]>) - double <[x]>; - - float tanhf(<[x]>) - float <[x]>; - - DESCRIPTION <> computes the hyperbolic tangent of diff --git a/newlib/libm/math/w_acos.c b/newlib/libm/math/w_acos.c index 8ce7887..eb3e201 100644 --- a/newlib/libm/math/w_acos.c +++ b/newlib/libm/math/w_acos.c @@ -20,21 +20,11 @@ INDEX INDEX acosf -ANSI_SYNOPSIS +SYNOPSIS #include double acos(double <[x]>); float acosf(float <[x]>); -TRAD_SYNOPSIS - #include - double acos(<[x]>) - double <[x]>; - - float acosf(<[x]>) - float <[x]>; - - - DESCRIPTION <> computes the inverse cosine (arc cosine) of the input value. diff --git a/newlib/libm/math/w_acosh.c b/newlib/libm/math/w_acosh.c index 9303260..ac15bb1 100644 --- a/newlib/libm/math/w_acosh.c +++ b/newlib/libm/math/w_acosh.c @@ -21,19 +21,11 @@ acosh INDEX acoshf -ANSI_SYNOPSIS +SYNOPSIS #include double acosh(double <[x]>); float acoshf(float <[x]>); -TRAD_SYNOPSIS - #include - double acosh(<[x]>) - double <[x]>; - - float acoshf(<[x]>) - float <[x]>; - DESCRIPTION <> calculates the inverse hyperbolic cosine of <[x]>. <> is defined as diff --git a/newlib/libm/math/w_asin.c b/newlib/libm/math/w_asin.c index c49111d..9964d75 100644 --- a/newlib/libm/math/w_asin.c +++ b/newlib/libm/math/w_asin.c @@ -21,20 +21,11 @@ INDEX INDEX asinf -ANSI_SYNOPSIS +SYNOPSIS #include double asin(double <[x]>); float asinf(float <[x]>); -TRAD_SYNOPSIS - #include - double asin(<[x]>) - double <[x]>; - - float asinf(<[x]>) - float <[x]>; - - DESCRIPTION <> computes the inverse sine (arc sine) of the argument <[x]>. diff --git a/newlib/libm/math/w_atan2.c b/newlib/libm/math/w_atan2.c index f3e344e..bcf9506 100644 --- a/newlib/libm/math/w_atan2.c +++ b/newlib/libm/math/w_atan2.c @@ -21,21 +21,11 @@ INDEX INDEX atan2f -ANSI_SYNOPSIS +SYNOPSIS #include double atan2(double <[y]>,double <[x]>); float atan2f(float <[y]>,float <[x]>); -TRAD_SYNOPSIS - #include - double atan2(<[y]>,<[x]>); - double <[y]>; - double <[x]>; - - float atan2f(<[y]>,<[x]>); - float <[y]>; - float <[x]>; - DESCRIPTION <> computes the inverse tangent (arc tangent) of <[y]>/<[x]>. diff --git a/newlib/libm/math/w_atanh.c b/newlib/libm/math/w_atanh.c index 07fd459..a87e23c 100644 --- a/newlib/libm/math/w_atanh.c +++ b/newlib/libm/math/w_atanh.c @@ -20,19 +20,11 @@ INDEX INDEX atanhf -ANSI_SYNOPSIS +SYNOPSIS #include double atanh(double <[x]>); float atanhf(float <[x]>); -TRAD_SYNOPSIS - #include - double atanh(<[x]>) - double <[x]>; - - float atanhf(<[x]>) - float <[x]>; - DESCRIPTION <> calculates the inverse hyperbolic tangent of <[x]>. diff --git a/newlib/libm/math/w_cosh.c b/newlib/libm/math/w_cosh.c index 54bfec3..e5b08df 100644 --- a/newlib/libm/math/w_cosh.c +++ b/newlib/libm/math/w_cosh.c @@ -16,19 +16,11 @@ FUNCTION <>, <>---hyperbolic cosine -ANSI_SYNOPSIS +SYNOPSIS #include double cosh(double <[x]>); float coshf(float <[x]>); -TRAD_SYNOPSIS - #include - double cosh(<[x]>); - double <[x]>; - - float coshf(<[x]>); - float <[x]>; - DESCRIPTION <> computes the hyperbolic cosine of the argument <[x]>. diff --git a/newlib/libm/math/w_exp.c b/newlib/libm/math/w_exp.c index eb36390..9cd607e 100644 --- a/newlib/libm/math/w_exp.c +++ b/newlib/libm/math/w_exp.c @@ -19,19 +19,11 @@ INDEX INDEX expf -ANSI_SYNOPSIS +SYNOPSIS #include double exp(double <[x]>); float expf(float <[x]>); -TRAD_SYNOPSIS - #include - double exp(<[x]>); - double <[x]>; - - float expf(<[x]>); - float <[x]>; - DESCRIPTION <> and <> calculate the exponential of <[x]>, that is, @ifnottex diff --git a/newlib/libm/math/w_exp2.c b/newlib/libm/math/w_exp2.c index 857cb0c..3e41dfc 100644 --- a/newlib/libm/math/w_exp2.c +++ b/newlib/libm/math/w_exp2.c @@ -19,7 +19,7 @@ INDEX INDEX exp2f -ANSI_SYNOPSIS +SYNOPSIS #include double exp2(double <[x]>); float exp2f(float <[x]>); diff --git a/newlib/libm/math/w_fmod.c b/newlib/libm/math/w_fmod.c index f9f72c7..df11dc3 100644 --- a/newlib/libm/math/w_fmod.c +++ b/newlib/libm/math/w_fmod.c @@ -20,19 +20,11 @@ fmod INDEX fmodf -ANSI_SYNOPSIS +SYNOPSIS #include double fmod(double <[x]>, double <[y]>); float fmodf(float <[x]>, float <[y]>); -TRAD_SYNOPSIS -#include -double fmod(<[x]>, <[y]>); -double (<[x]>, <[y]>); - -float fmodf(<[x]>, <[y]>); -float (<[x]>, <[y]>); - DESCRIPTION The <> and <> functions compute the floating-point remainder of <[x]>/<[y]> (<[x]> modulo <[y]>). diff --git a/newlib/libm/math/w_gamma.c b/newlib/libm/math/w_gamma.c index d1a70df..a1f50b5 100644 --- a/newlib/libm/math/w_gamma.c +++ b/newlib/libm/math/w_gamma.c @@ -47,7 +47,7 @@ tgamma INDEX tgammaf -ANSI_SYNOPSIS +SYNOPSIS #include double gamma(double <[x]>); float gammaf(float <[x]>); @@ -60,33 +60,6 @@ float lgammaf_r(float <[x]>, int *<[signgamp]>); double tgamma(double <[x]>); float tgammaf(float <[x]>); -TRAD_SYNOPSIS -#include -double gamma(<[x]>) -double <[x]>; -float gammaf(<[x]>) -float <[x]>; -double lgamma(<[x]>) -double <[x]>; -float lgammaf(<[x]>) -float <[x]>; -double gamma_r(<[x]>, <[signgamp]>) -double <[x]>; -int <[signgamp]>; -float gammaf_r(<[x]>, <[signgamp]>) -float <[x]>; -int <[signgamp]>; -double lgamma_r(<[x]>, <[signgamp]>) -double <[x]>; -int <[signgamp]>; -float lgammaf_r(<[x]>, <[signgamp]>) -float <[x]>; -int <[signgamp]>; -double tgamma(<[x]>) -double <[x]>; -float tgammaf(<[x]>) -float <[x]>; - DESCRIPTION <> calculates @tex diff --git a/newlib/libm/math/w_hypot.c b/newlib/libm/math/w_hypot.c index 203bf09..5337022 100644 --- a/newlib/libm/math/w_hypot.c +++ b/newlib/libm/math/w_hypot.c @@ -19,18 +19,11 @@ INDEX INDEX hypotf -ANSI_SYNOPSIS +SYNOPSIS #include double hypot(double <[x]>, double <[y]>); float hypotf(float <[x]>, float <[y]>); -TRAD_SYNOPSIS - double hypot(<[x]>, <[y]>) - double <[x]>, <[y]>; - - float hypotf(<[x]>, <[y]>) - float <[x]>, <[y]>; - DESCRIPTION <> calculates the Euclidean distance @tex diff --git a/newlib/libm/math/w_j0.c b/newlib/libm/math/w_j0.c index e4dde5c..ab05dbd 100644 --- a/newlib/libm/math/w_j0.c +++ b/newlib/libm/math/w_j0.c @@ -40,7 +40,7 @@ yn INDEX ynf -ANSI_SYNOPSIS +SYNOPSIS #include double j0(double <[x]>); float j0f(float <[x]>); @@ -55,39 +55,6 @@ float y1f(float <[x]>); double yn(int <[n]>, double <[x]>); float ynf(int <[n]>, float <[x]>); -TRAD_SYNOPSIS -#include - -double j0(<[x]>) -double <[x]>; -float j0f(<[x]>) -float <[x]>; -double j1(<[x]>) -double <[x]>; -float j1f(<[x]>) -float <[x]>; -double jn(<[n]>, <[x]>) -int <[n]>; -double <[x]>; -float jnf(<[n]>, <[x]>) -int <[n]>; -float <[x]>; - -double y0(<[x]>) -double <[x]>; -float y0f(<[x]>) -float <[x]>; -double y1(<[x]>) -double <[x]>; -float y1f(<[x]>) -float <[x]>; -double yn(<[n]>, <[x]>) -int <[n]>; -double <[x]>; -float ynf(<[n]>, <[x]>) -int <[n]>; -float <[x]>; - DESCRIPTION The Bessel functions are a family of functions that solve the differential equation diff --git a/newlib/libm/math/w_log.c b/newlib/libm/math/w_log.c index 38896cd..2e7e6c0 100644 --- a/newlib/libm/math/w_log.c +++ b/newlib/libm/math/w_log.c @@ -20,19 +20,11 @@ INDEX INDEX logf -ANSI_SYNOPSIS +SYNOPSIS #include double log(double <[x]>); float logf(float <[x]>); -TRAD_SYNOPSIS - #include - double log(<[x]>); - double <[x]>; - - float logf(<[x]>); - float <[x]>; - DESCRIPTION Return the natural logarithm of <[x]>, that is, its logarithm base e (where e is the base of the natural system of logarithms, 2.71828@dots{}). diff --git a/newlib/libm/math/w_log10.c b/newlib/libm/math/w_log10.c index 66f0e78..3b436d5 100644 --- a/newlib/libm/math/w_log10.c +++ b/newlib/libm/math/w_log10.c @@ -20,19 +20,11 @@ log10 INDEX log10f -ANSI_SYNOPSIS +SYNOPSIS #include double log10(double <[x]>); float log10f(float <[x]>); -TRAD_SYNOPSIS - #include - double log10(<[x]>) - double <[x]>; - - float log10f(<[x]>) - float <[x]>; - DESCRIPTION <> returns the base 10 logarithm of <[x]>. It is implemented as <) / log(10)>>. diff --git a/newlib/libm/math/w_pow.c b/newlib/libm/math/w_pow.c index ebf7be3..fc38f68 100644 --- a/newlib/libm/math/w_pow.c +++ b/newlib/libm/math/w_pow.c @@ -21,19 +21,11 @@ INDEX powf -ANSI_SYNOPSIS +SYNOPSIS #include double pow(double <[x]>, double <[y]>); float powf(float <[x]>, float <[y]>); -TRAD_SYNOPSIS - #include - double pow(<[x]>, <[y]>); - double <[x]>, <[y]>; - - float powf(<[x]>, <[y]>); - float <[x]>, <[y]>; - DESCRIPTION <> and <> calculate <[x]> raised to the exponent <[y]>. @tex diff --git a/newlib/libm/math/w_remainder.c b/newlib/libm/math/w_remainder.c index e4c1967..5b13390 100644 --- a/newlib/libm/math/w_remainder.c +++ b/newlib/libm/math/w_remainder.c @@ -19,18 +19,11 @@ INDEX INDEX remainderf -ANSI_SYNOPSIS +SYNOPSIS #include double remainder(double <[x]>, double <[y]>); float remainderf(float <[x]>, float <[y]>); -TRAD_SYNOPSIS - #include - double remainder(<[x]>,<[y]>) - double <[x]>, <[y]>; - float remainderf(<[x]>,<[y]>) - float <[x]>, <[y]>; - DESCRIPTION <> and <> find the remainder of <[x]>/<[y]>; this value is in the range -<[y]>/2 .. +<[y]>/2. diff --git a/newlib/libm/math/w_sinh.c b/newlib/libm/math/w_sinh.c index 72e0ef5..340a711 100644 --- a/newlib/libm/math/w_sinh.c +++ b/newlib/libm/math/w_sinh.c @@ -21,19 +21,11 @@ INDEX INDEX sinhf -ANSI_SYNOPSIS +SYNOPSIS #include double sinh(double <[x]>); float sinhf(float <[x]>); -TRAD_SYNOPSIS - #include - double sinh(<[x]>) - double <[x]>; - - float sinhf(<[x]>) - float <[x]>; - DESCRIPTION <> computes the hyperbolic sine of the argument <[x]>. Angles are specified in radians. <>(<[x]>) is defined as diff --git a/newlib/libm/math/w_sqrt.c b/newlib/libm/math/w_sqrt.c index 23a793c..61d42fc 100644 --- a/newlib/libm/math/w_sqrt.c +++ b/newlib/libm/math/w_sqrt.c @@ -20,16 +20,11 @@ INDEX INDEX sqrtf -ANSI_SYNOPSIS +SYNOPSIS #include double sqrt(double <[x]>); float sqrtf(float <[x]>); -TRAD_SYNOPSIS - #include - double sqrt(<[x]>); - float sqrtf(<[x]>); - DESCRIPTION <> computes the positive square root of the argument. You can modify error handling for this function with