Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2018-01-18 18:50:44 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-18 18:50:44 +0300
commit843c41dcbf05de5ad435e4eb93ce7ec336d60166 (patch)
treeaa855700c0dc36f4dcb38a9d2ec38746eced5259 /newlib/libm/mathfp/s_erf.c
parentac8f156011e8cb657667a8007c7d606a1aa67467 (diff)
ansification: unifdef -D__STDC__ libm/mathfptopic/ansification
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libm/mathfp/s_erf.c')
-rw-r--r--newlib/libm/mathfp/s_erf.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/newlib/libm/mathfp/s_erf.c b/newlib/libm/mathfp/s_erf.c
index 514da7464..4cfab9a58 100644
--- a/newlib/libm/mathfp/s_erf.c
+++ b/newlib/libm/mathfp/s_erf.c
@@ -155,11 +155,7 @@ PORTABILITY
#ifndef _DOUBLE_IS_32BITS
-#ifdef __STDC__
static const double
-#else
-static double
-#endif
tiny = 1e-300,
half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */
one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
@@ -234,12 +230,7 @@ sb5 = 2.55305040643316442583e+03, /* 0x40A3F219, 0xCEDF3BE6 */
sb6 = 4.74528541206955367215e+02, /* 0x407DA874, 0xE79FE763 */
sb7 = -2.24409524465858183362e+01; /* 0xC03670E2, 0x42712D62 */
-#ifdef __STDC__
double erf(double x)
-#else
- double erf(x)
- double x;
-#endif
{
__int32_t hx,ix,i;
double R,S,P,Q,s,y,z,r;
@@ -290,12 +281,7 @@ sb7 = -2.24409524465858183362e+01; /* 0xC03670E2, 0x42712D62 */
if(hx>=0) return one-r/x; else return r/x-one;
}
-#ifdef __STDC__
double erfc(double x)
-#else
- double erfc(x)
- double x;
-#endif
{
__int32_t hx,ix;
double R,S,P,Q,s,y,z,r;