diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-11-30 02:36:17 -0600 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-01 03:41:53 -0600 |
commit | 3312f960a70cb1648139502b1d7b85351c6ee621 (patch) | |
tree | 5723ffeeff64b14f0266c77b5a60083043419186 /newlib | |
parent | 571ff42ae4c587b9211c17fd58abc2b23464c0ad (diff) | |
download | newlib-3312f960a70cb1648139502b1d7b85351c6ee621.zip newlib-3312f960a70cb1648139502b1d7b85351c6ee621.tar.gz newlib-3312f960a70cb1648139502b1d7b85351c6ee621.tar.bz2 |
libm/common: remove TRAD_SYNOPSIS
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib')
30 files changed, 30 insertions, 133 deletions
diff --git a/newlib/libm/common/isgreater.c b/newlib/libm/common/isgreater.c index 54a8e6d..cac9b10 100644 --- a/newlib/libm/common/isgreater.c +++ b/newlib/libm/common/isgreater.c @@ -17,7 +17,7 @@ INDEX INDEX isunordered -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> int isgreater(real-floating <[x]>, real-floating <[y]>); int isgreaterequal(real-floating <[x]>, real-floating <[y]>); diff --git a/newlib/libm/common/s_cbrt.c b/newlib/libm/common/s_cbrt.c index 95185d0..9289c36 100644 --- a/newlib/libm/common/s_cbrt.c +++ b/newlib/libm/common/s_cbrt.c @@ -21,16 +21,11 @@ INDEX INDEX cbrtf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double cbrt(double <[x]>); float cbrtf(float <[x]>); -TRAD_SYNOPSIS - #include <math.h> - double cbrt(<[x]>); - float cbrtf(<[x]>); - DESCRIPTION <<cbrt>> computes the cube root of the argument. diff --git a/newlib/libm/common/s_copysign.c b/newlib/libm/common/s_copysign.c index bfc546d..4ea2d5f 100644 --- a/newlib/libm/common/s_copysign.c +++ b/newlib/libm/common/s_copysign.c @@ -20,21 +20,11 @@ INDEX INDEX copysignf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double copysign (double <[x]>, double <[y]>); float copysignf (float <[x]>, float <[y]>); -TRAD_SYNOPSIS - #include <math.h> - double copysign (<[x]>, <[y]>) - double <[x]>; - double <[y]>; - - float copysignf (<[x]>, <[y]>) - float <[x]>; - float <[y]>; - DESCRIPTION <<copysign>> constructs a number with the magnitude (absolute value) of its first argument, <[x]>, and the sign of its second argument, diff --git a/newlib/libm/common/s_exp10.c b/newlib/libm/common/s_exp10.c index 23cedfb..08fa5ff 100644 --- a/newlib/libm/common/s_exp10.c +++ b/newlib/libm/common/s_exp10.c @@ -20,19 +20,11 @@ INDEX INDEX exp10f -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double exp10(double <[x]>); float exp10f(float <[x]>); -TRAD_SYNOPSIS - #include <math.h> - double exp10(<[x]>); - double <[x]>; - - float exp10f(<[x]>); - float <[x]>; - DESCRIPTION <<exp10>> and <<exp10f>> calculate 10 ^ <[x]>, that is, @ifnottex diff --git a/newlib/libm/common/s_expm1.c b/newlib/libm/common/s_expm1.c index 12c88f1..a4c3912 100644 --- a/newlib/libm/common/s_expm1.c +++ b/newlib/libm/common/s_expm1.c @@ -19,19 +19,11 @@ INDEX INDEX expm1f -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double expm1(double <[x]>); float expm1f(float <[x]>); -TRAD_SYNOPSIS - #include <math.h> - double expm1(<[x]>); - double <[x]>; - - float expm1f(<[x]>); - float <[x]>; - DESCRIPTION <<expm1>> and <<expm1f>> calculate the exponential of <[x]> and subtract 1, that is, diff --git a/newlib/libm/common/s_fdim.c b/newlib/libm/common/s_fdim.c index a6c465c..73a0279 100644 --- a/newlib/libm/common/s_fdim.c +++ b/newlib/libm/common/s_fdim.c @@ -11,7 +11,7 @@ INDEX INDEX fdimf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double fdim(double <[x]>, double <[y]>); float fdimf(float <[x]>, float <[y]>); diff --git a/newlib/libm/common/s_fma.c b/newlib/libm/common/s_fma.c index bbb3eb0..ab9e525 100644 --- a/newlib/libm/common/s_fma.c +++ b/newlib/libm/common/s_fma.c @@ -6,7 +6,7 @@ INDEX INDEX fmaf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double fma(double <[x]>, double <[y]>, double <[z]>); float fmaf(float <[x]>, float <[y]>, float <[z]>); diff --git a/newlib/libm/common/s_fmax.c b/newlib/libm/common/s_fmax.c index 8f446e2..f6fa5fc 100644 --- a/newlib/libm/common/s_fmax.c +++ b/newlib/libm/common/s_fmax.c @@ -11,7 +11,7 @@ INDEX INDEX fmaxf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double fmax(double <[x]>, double <[y]>); float fmaxf(float <[x]>, float <[y]>); diff --git a/newlib/libm/common/s_fmin.c b/newlib/libm/common/s_fmin.c index 2d0cd80..9217c02 100644 --- a/newlib/libm/common/s_fmin.c +++ b/newlib/libm/common/s_fmin.c @@ -11,7 +11,7 @@ INDEX INDEX fminf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double fmin(double <[x]>, double <[y]>); float fminf(float <[x]>, float <[y]>); diff --git a/newlib/libm/common/s_ilogb.c b/newlib/libm/common/s_ilogb.c index 477ec2e..cc5f775 100644 --- a/newlib/libm/common/s_ilogb.c +++ b/newlib/libm/common/s_ilogb.c @@ -19,20 +19,11 @@ INDEX INDEX ilogbf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> int ilogb(double <[val]>); int ilogbf(float <[val]>); -TRAD_SYNOPSIS - #include <math.h> - int ilogb(<[val]>) - double <[val]>; - - int ilogbf(<[val]>) - float <[val]>; - - DESCRIPTION All nonzero, normal numbers can be described as <[m]> * diff --git a/newlib/libm/common/s_infinity.c b/newlib/libm/common/s_infinity.c index 9285a76..990777d 100644 --- a/newlib/libm/common/s_infinity.c +++ b/newlib/libm/common/s_infinity.c @@ -12,7 +12,7 @@ INDEX INDEX infinityf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double infinity(void); float infinityf(void); diff --git a/newlib/libm/common/s_isnan.c b/newlib/libm/common/s_isnan.c index bc0a916..91649dc 100644 --- a/newlib/libm/common/s_isnan.c +++ b/newlib/libm/common/s_isnan.c @@ -43,7 +43,7 @@ INDEX finitef @c SUSv2 end) -ANSI_SYNOPSIS +SYNOPSIS [C99 standard macros:] #include <math.h> int fpclassify(real-floating <[x]>); diff --git a/newlib/libm/common/s_isnand.c b/newlib/libm/common/s_isnand.c index 0ac8c59..5f2c064 100644 --- a/newlib/libm/common/s_isnand.c +++ b/newlib/libm/common/s_isnand.c @@ -27,7 +27,7 @@ INDEX INDEX finitef -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> int isnan(double <[arg]>); int isinf(double <[arg]>); @@ -36,21 +36,6 @@ ANSI_SYNOPSIS int isinff(float <[arg]>); int finitef(float <[arg]>); -TRAD_SYNOPSIS - #include <math.h> - int isnan(<[arg]>) - double <[arg]>; - int isinf(<[arg]>) - double <[arg]>; - int finite(<[arg]>); - double <[arg]>; - int isnanf(<[arg]>); - float <[arg]>; - int isinff(<[arg]>); - float <[arg]>; - int finitef(<[arg]>); - float <[arg]>; - DESCRIPTION These functions provide information on the floating-point diff --git a/newlib/libm/common/s_log1p.c b/newlib/libm/common/s_log1p.c index 351c887..359c257 100644 --- a/newlib/libm/common/s_log1p.c +++ b/newlib/libm/common/s_log1p.c @@ -20,19 +20,11 @@ INDEX INDEX log1pf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double log1p(double <[x]>); float log1pf(float <[x]>); -TRAD_SYNOPSIS - #include <math.h> - double log1p(<[x]>) - double <[x]>; - - float log1pf(<[x]>) - float <[x]>; - DESCRIPTION <<log1p>> calculates @tex diff --git a/newlib/libm/common/s_log2.c b/newlib/libm/common/s_log2.c index 3b05066..3655778 100644 --- a/newlib/libm/common/s_log2.c +++ b/newlib/libm/common/s_log2.c @@ -20,7 +20,7 @@ INDEX INDEX log2f -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double log2(double <[x]>); float log2f(float <[x]>); diff --git a/newlib/libm/common/s_logb.c b/newlib/libm/common/s_logb.c index 7e71457..26dfed0 100644 --- a/newlib/libm/common/s_logb.c +++ b/newlib/libm/common/s_logb.c @@ -18,7 +18,7 @@ INDEX INDEX logbf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double logb(double <[x]>); float logbf(float <[x]>); diff --git a/newlib/libm/common/s_lrint.c b/newlib/libm/common/s_lrint.c index 52bb522..9d2cb73 100644 --- a/newlib/libm/common/s_lrint.c +++ b/newlib/libm/common/s_lrint.c @@ -22,7 +22,7 @@ INDEX INDEX llrintf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> long int lrint(double <[x]>); long int lrintf(float <[x]>); diff --git a/newlib/libm/common/s_lround.c b/newlib/libm/common/s_lround.c index 52cd74f..c0a4ebc 100644 --- a/newlib/libm/common/s_lround.c +++ b/newlib/libm/common/s_lround.c @@ -20,7 +20,7 @@ INDEX INDEX llroundf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> long int lround(double <[x]>); long int lroundf(float <[x]>); diff --git a/newlib/libm/common/s_matherr.c b/newlib/libm/common/s_matherr.c index 58e2428..00d2caa 100644 --- a/newlib/libm/common/s_matherr.c +++ b/newlib/libm/common/s_matherr.c @@ -19,15 +19,10 @@ FUNCTION INDEX matherr -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> int matherr(struct exception *<[e]>); -TRAD_SYNOPSIS - #include <math.h> - int matherr(*<[e]>) - struct exception *<[e]>; - DESCRIPTION <<matherr>> is called whenever a math library function generates an error. You can replace <<matherr>> by your own subroutine to customize diff --git a/newlib/libm/common/s_modf.c b/newlib/libm/common/s_modf.c index 2e9bfb1..8551a99 100644 --- a/newlib/libm/common/s_modf.c +++ b/newlib/libm/common/s_modf.c @@ -20,21 +20,11 @@ INDEX INDEX modff -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double modf(double <[val]>, double *<[ipart]>); float modff(float <[val]>, float *<[ipart]>); -TRAD_SYNOPSIS - #include <math.h> - double modf(<[val]>, <[ipart]>) - double <[val]>; - double *<[ipart]>; - - float modff(<[val]>, <[ipart]>) - float <[val]>; - float *<[ipart]>; - DESCRIPTION <<modf>> splits the double <[val]> apart into an integer part and a fractional part, returning the fractional part and diff --git a/newlib/libm/common/s_nan.c b/newlib/libm/common/s_nan.c index a98650d..d571038 100644 --- a/newlib/libm/common/s_nan.c +++ b/newlib/libm/common/s_nan.c @@ -12,16 +12,11 @@ INDEX INDEX nanf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double nan(const char *<[unused]>); float nanf(const char *<[unused]>); -TRAD_SYNOPSIS - #include <math.h> - double nan(); - float nanf(); - DESCRIPTION <<nan>> and <<nanf>> return an IEEE NaN (Not a Number) in diff --git a/newlib/libm/common/s_nearbyint.c b/newlib/libm/common/s_nearbyint.c index 714b66a..d142c68 100644 --- a/newlib/libm/common/s_nearbyint.c +++ b/newlib/libm/common/s_nearbyint.c @@ -16,7 +16,7 @@ INDEX INDEX nearbyintf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double nearbyint(double <[x]>); float nearbyintf(float <[x]>); diff --git a/newlib/libm/common/s_nextafter.c b/newlib/libm/common/s_nextafter.c index 3a7fa3f..9453a0a 100644 --- a/newlib/libm/common/s_nextafter.c +++ b/newlib/libm/common/s_nextafter.c @@ -20,23 +20,11 @@ INDEX INDEX nextafterf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double nextafter(double <[val]>, double <[dir]>); float nextafterf(float <[val]>, float <[dir]>); -TRAD_SYNOPSIS - #include <math.h> - - double nextafter(<[val]>, <[dir]>) - double <[val]>; - double <[exp]>; - - float nextafter(<[val]>, <[dir]>) - float <[val]>; - float <[dir]>; - - DESCRIPTION <<nextafter>> returns the double-precision floating-point number closest to <[val]> in the direction toward <[dir]>. <<nextafterf>> diff --git a/newlib/libm/common/s_pow10.c b/newlib/libm/common/s_pow10.c index 052e26d..46645c7 100644 --- a/newlib/libm/common/s_pow10.c +++ b/newlib/libm/common/s_pow10.c @@ -20,19 +20,11 @@ INDEX INDEX pow10f -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double pow10(double <[x]>); float pow10f(float <[x]>); -TRAD_SYNOPSIS - #include <math.h> - double pow10(<[x]>); - double <[x]>; - - float pow10f(<[x]>); - float <[x]>; - DESCRIPTION <<pow10>> and <<pow10f>> calculate 10 ^ <[x]>, that is, @ifnottex diff --git a/newlib/libm/common/s_remquo.c b/newlib/libm/common/s_remquo.c index 30bf15f..468b566 100644 --- a/newlib/libm/common/s_remquo.c +++ b/newlib/libm/common/s_remquo.c @@ -19,7 +19,7 @@ INDEX INDEX remquof -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double remquo(double <[x]>, double <[y]>, int *<[quo]>); float remquof(float <[x]>, float <[y]>, int *<[quo]>); diff --git a/newlib/libm/common/s_rint.c b/newlib/libm/common/s_rint.c index f06325a..7dce9f5 100644 --- a/newlib/libm/common/s_rint.c +++ b/newlib/libm/common/s_rint.c @@ -18,7 +18,7 @@ INDEX INDEX rintf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double rint(double <[x]>); float rintf(float <[x]>); diff --git a/newlib/libm/common/s_round.c b/newlib/libm/common/s_round.c index 07aac9e..047574a 100644 --- a/newlib/libm/common/s_round.c +++ b/newlib/libm/common/s_round.c @@ -16,7 +16,7 @@ INDEX INDEX roundf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double round(double <[x]>); float roundf(float <[x]>); diff --git a/newlib/libm/common/s_scalbn.c b/newlib/libm/common/s_scalbn.c index 7fab586..e9dbb16 100644 --- a/newlib/libm/common/s_scalbn.c +++ b/newlib/libm/common/s_scalbn.c @@ -23,7 +23,7 @@ INDEX INDEX scalblnf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double scalbn(double <[x]>, int <[n]>); float scalbnf(float <[x]>, int <[n]>); diff --git a/newlib/libm/common/s_signbit.c b/newlib/libm/common/s_signbit.c index d2ba1fc..098a32d 100644 --- a/newlib/libm/common/s_signbit.c +++ b/newlib/libm/common/s_signbit.c @@ -10,7 +10,7 @@ FUNCTION INDEX signbit -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> int signbit(real-floating <[x]>); diff --git a/newlib/libm/common/s_trunc.c b/newlib/libm/common/s_trunc.c index 31a1f92..0e06add 100644 --- a/newlib/libm/common/s_trunc.c +++ b/newlib/libm/common/s_trunc.c @@ -16,7 +16,7 @@ INDEX INDEX truncf -ANSI_SYNOPSIS +SYNOPSIS #include <math.h> double trunc(double <[x]>); float truncf(float <[x]>); |