From patchwork Thu Nov 30 10:28:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120122 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp493476qgn; Thu, 30 Nov 2017 02:37:37 -0800 (PST) X-Google-Smtp-Source: AGs4zMbMIus6WP4kv8Y3S5KUzaUI8XBxkQaer0R2dlQbc0W+HK3Tv1BZS5YJTRqWhIHUmZUbwkyA X-Received: by 10.84.132.129 with SMTP id e1mr2214009ple.376.1512038257925; Thu, 30 Nov 2017 02:37:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038257; cv=none; d=google.com; s=arc-20160816; b=McYZLg+etWUirK/dMoKQOKP3yuWwNWLvR6WetqsNqcc8Ku8I+UoKPbbO1EkmqjI8YL rotH5zi0HDgtQkFJ9YTHGL6lusyespLhwLKXOCByBw7isEYa0lLzN/XaOLKtOiUtS4za 8mPG5QXY0wJrE9Ish7WjEP7Gr+AQvxIY+i0iCyBQr6VBoln5aRXwfoC2vJqsgjBSNT3Z rwefzoBQ5Fq3PXnzP/PsNDiG/pH6iUGcmPjo6P4wR7eAmbiYMiP9+CimZubKR6Bx2u5T k9gHEWu61op2+uxVq02vOvMLU56nkDYVo63QWanVatkeN/ZCZqP78k8H0i5gLZ+CqWjH 6PJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=t279MkhpjC/T+WlAfEvowpbE+mbuFGk65OBdKw5MsKg=; b=xuXrO3OnOHL6P9XM1SuvGxBWTWXeTvIZWIrZhDv7PYnuwWmwovX3En2d8DCF1bxg4K b35eaLv5o8n94OC202I/O+15ghy0HIuj2PQDOQ3s1Dj2V+e3DBuLNPwUdm6x3opoDJh2 DcO/kolwFgpm4+6q/jRzuB2V1JXIVNmbPxXqN76eBmGNvnyoSWbmoKryl/21HQTyWF1U VcTgkSXzWpbt+fqNBYfB2B74w68YSeKGG49FPLSFyiZtVfAtShH6fri3HtevrDROoUkQ jLo98KfzJPccFPq2Kyw4MjzhgMXPki2kA13qOtyPhwW0oktI3BOJRfBh4NY7sOtyE4PQ SiXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=mooyWs8/; spf=pass (google.com: domain of newlib-return-15437-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15437-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id x13si3020137pfk.293.2017.11.30.02.37.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:37:37 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15437-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=mooyWs8/; spf=pass (google.com: domain of newlib-return-15437-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15437-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=hGHyeYJT143aehReqxHwbCOfn4X0FuI 4UElzHvfamW302JDVL9mybq0bE4dUytB5g4hkLmNydJ2n6Win/VdKn20qVBeZ6D+ LxkldkncffQrZV6BuPi7O93OT4kHMq13tlHaJg8No6UrNYXzHLpQu921/BEAUPha PsGlyeDNssFA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=8y51MDgK4zJmFu5M7L+hECuy+V4=; b=mooyW s8/THu3mu7DssV0+P3Dn1wdEgKIc/UnJ1/MLsyPF8eHe09TGkkH3tHFpVOL5wj+f BbJoLPuAMUrwXFsf9uMBWt5rzWIrpYrViL0L3MxiCmqWFCGPzvY+bcRwMH2SU3zI 8ozYH6Pc92zdNMVy1U+IpY5haJmY6G9CcgYEL4= Received: (qmail 108913 invoked by alias); 30 Nov 2017 10:37:02 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 108825 invoked by uid 89); 30 Nov 2017 10:37:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=2324 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 10:36:59 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1AA9E267E1 for ; Thu, 30 Nov 2017 10:29:19 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A617A4DA18 for ; Thu, 30 Nov 2017 10:29:18 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 22/24] math: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:56 -0600 Message-Id: <20171130102858.16160-23-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- 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(-) -- 2.15.0 diff --git a/newlib/libm/math/s_asinh.c b/newlib/libm/math/s_asinh.c index b7e173c79..711bade8c 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 c52a09dd0..d9dd8b054 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 825309dee..eb288fc73 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 95b871ca5..2a6b5b402 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 65e234ed2..f95442263 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 5a396c7a1..284e3382d 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 adc7d5d0e..89ba3d0c0 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 28259f378..7ef0a6f2b 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 2959f416e..78fb01df3 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 b5541d028..f7864306e 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 8ce7887ea..eb3e20111 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 93032600b..ac15bb1bd 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 c49111d27..9964d75b0 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 f3e344ea6..bcf9506bf 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 07fd45962..a87e23cc4 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 54bfec37d..e5b08df00 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 eb36390c2..9cd607e4e 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 857cb0cdc..3e41dfc79 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 f9f72c745..df11dc34c 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 d1a70df2f..a1f50b593 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 203bf0982..533702277 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 e4dde5ccb..ab05dbdeb 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 38896cd25..2e7e6c00c 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 66f0e78d1..3b436d539 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 ebf7be328..fc38f68ec 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 e4c196716..5b13390f9 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 72e0ef51e..340a7112d 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 23a793ce7..61d42fcec 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