summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asin.c2
-rw-r--r--asinh.c2
-rw-r--r--atan.c2
-rw-r--r--atanh.c2
-rw-r--r--expm1.c2
-rw-r--r--log1p.c2
-rw-r--r--sin.c2
-rw-r--r--sinh.c2
-rw-r--r--tan.c2
-rw-r--r--tanh.c2
-rw-r--r--zeta.c2
11 files changed, 11 insertions, 11 deletions
diff --git a/asin.c b/asin.c
index 5fcb97e6a..94c1b6480 100644
--- a/asin.c
+++ b/asin.c
@@ -51,7 +51,7 @@ mpfr_asin (mpfr_ptr asin, mpfr_srcptr x, mp_rnd_t rnd_mode)
}
/* asin(x) = x + x^3/6 + ... so the error is < 2^(3*EXP(x)-2) */
- MPFR_FAST_COMPUTE_IF_SMALL_INPUT (asin,x, -2*MPFR_GET_EXP (x)+2,1,rnd_mode,);
+ MPFR_FAST_COMPUTE_IF_SMALL_INPUT (asin,x, -2*MPFR_GET_EXP (x)+2,1,rnd_mode,{});
/* Set x_p=|x| (x is a normal number) */
mpfr_init2 (xp, MPFR_PREC (x));
diff --git a/asinh.c b/asinh.c
index 2a7bc547f..3577439b6 100644
--- a/asinh.c
+++ b/asinh.c
@@ -62,7 +62,7 @@ mpfr_asinh (mpfr_ptr y, mpfr_srcptr x, mp_rnd_t rnd_mode)
}
/* asinh(x) = x - x^3/6 + ... so the error is < 2^(3*EXP(x)-2) */
- MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, x, -2*MPFR_GET_EXP (x)+2,0,rnd_mode,);
+ MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, x, -2*MPFR_GET_EXP (x)+2,0,rnd_mode,{});
Ny = MPFR_PREC (y); /* Precision of output variable */
diff --git a/atan.c b/atan.c
index a1e0ecada..43c05cc9d 100644
--- a/atan.c
+++ b/atan.c
@@ -249,7 +249,7 @@ mpfr_atan (mpfr_ptr atan, mpfr_srcptr x, mp_rnd_t rnd_mode)
/* atan(x) = x - x^3/3 + x^5/5...
so the error is < 2^(3*EXP(x)-1)
so `EXP(x)-(3*EXP(x)-1)` = -2*EXP(x)+1 */
- MPFR_FAST_COMPUTE_IF_SMALL_INPUT (atan,x, -2*MPFR_GET_EXP (x)+1,0,rnd_mode,);
+ MPFR_FAST_COMPUTE_IF_SMALL_INPUT (atan,x, -2*MPFR_GET_EXP (x)+1,0,rnd_mode,{});
/* Set x_p=|x| */
MPFR_TMP_INIT_ABS (xp, x);
diff --git a/atanh.c b/atanh.c
index 3fab1886b..59458ea6a 100644
--- a/atanh.c
+++ b/atanh.c
@@ -71,7 +71,7 @@ mpfr_atanh (mpfr_ptr y, mpfr_srcptr xt , mp_rnd_t rnd_mode)
}
/* atanh(x) = x + x^3/3 + ... so the error is < 2^(3*EXP(x)-1) */
- MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, xt, -2*MPFR_GET_EXP (xt)+1,1,rnd_mode,);
+ MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, xt, -2*MPFR_GET_EXP (xt)+1,1,rnd_mode,{});
MPFR_SAVE_EXPO_MARK (expo);
diff --git a/expm1.c b/expm1.c
index 66a9e293a..257069616 100644
--- a/expm1.c
+++ b/expm1.c
@@ -61,7 +61,7 @@ mpfr_expm1 (mpfr_ptr y, mpfr_srcptr x , mp_rnd_t rnd_mode)
}
/* exp(x)-1 = x +x^2/2 + ... so the error is < 2^(2*EXP(x)-1) */
- MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, x, -MPFR_GET_EXP (x)+1,1,rnd_mode,);
+ MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, x, -MPFR_GET_EXP (x)+1,1,rnd_mode,{});
MPFR_SAVE_EXPO_MARK (expo);
/* General case */
diff --git a/log1p.c b/log1p.c
index a8f47293a..dab46ebaf 100644
--- a/log1p.c
+++ b/log1p.c
@@ -63,7 +63,7 @@ mpfr_log1p (mpfr_ptr y, mpfr_srcptr x, mp_rnd_t rnd_mode)
}
/* log(1+x) = x-x^2/2 + ... so the error is < 2^(2*EXP(x)-1) */
- MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, x, -MPFR_GET_EXP (x)+1,0,rnd_mode,);
+ MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, x, -MPFR_GET_EXP (x)+1,0,rnd_mode,{});
comp = mpfr_cmp_si (x, -1);
/* log1p(x) is undefined for x < -1 */
diff --git a/sin.c b/sin.c
index 4f9bfe111..26e63f245 100644
--- a/sin.c
+++ b/sin.c
@@ -129,7 +129,7 @@ mpfr_sin (mpfr_ptr y, mpfr_srcptr x, mp_rnd_t rnd_mode)
}
/* sin(x) = x - x^3/6 + ... so the error is < 2^(3*EXP(x)-2) */
- MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, x, -2*MPFR_GET_EXP (x)+2,0,rnd_mode, );
+ MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, x, -2*MPFR_GET_EXP (x)+2,0,rnd_mode,{});
/* Compute initial precision */
precy = MPFR_PREC (y);
diff --git a/sinh.c b/sinh.c
index b4877cac5..42a9dfd73 100644
--- a/sinh.c
+++ b/sinh.c
@@ -57,7 +57,7 @@ mpfr_sinh (mpfr_ptr y, mpfr_srcptr xt, mp_rnd_t rnd_mode)
}
/* sinh(x) = x + x^3/6 + ... so the error is < 2^(3*EXP(x)-2) */
- MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, xt, -2*MPFR_GET_EXP(xt)+2,1,rnd_mode, );
+ MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, xt, -2*MPFR_GET_EXP(xt)+2,1,rnd_mode,{});
MPFR_TMP_INIT_ABS (x, xt);
diff --git a/tan.c b/tan.c
index 81c39f7b4..a8c523746 100644
--- a/tan.c
+++ b/tan.c
@@ -53,7 +53,7 @@ mpfr_tan (mpfr_ptr y, mpfr_srcptr x, mp_rnd_t rnd_mode)
}
/* tan(x) = x + x^3/3 + ... so the error is < 2^(3*EXP(x)-1) */
- MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, x, -2*MPFR_GET_EXP (x)+1,1,rnd_mode, );
+ MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, x, -2*MPFR_GET_EXP (x)+1,1,rnd_mode,{});
MPFR_SAVE_EXPO_MARK (expo);
diff --git a/tanh.c b/tanh.c
index db15f5c25..3b592739f 100644
--- a/tanh.c
+++ b/tanh.c
@@ -56,7 +56,7 @@ mpfr_tanh (mpfr_ptr y, mpfr_srcptr xt , mp_rnd_t rnd_mode)
}
/* tanh(x) = x - x^3/3 + ... so the error is < 2^(3*EXP(x)-1) */
- MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, xt, -2*MPFR_GET_EXP(xt)+1,0,rnd_mode, );
+ MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, xt, -2*MPFR_GET_EXP(xt)+1,0,rnd_mode,{});
MPFR_TMP_INIT_ABS (x, xt);
diff --git a/zeta.c b/zeta.c
index 86f595c2d..351a954a1 100644
--- a/zeta.c
+++ b/zeta.c
@@ -175,7 +175,7 @@ mpfr_zeta_pos (mpfr_t z, mpfr_srcptr s, mp_rnd_t rnd_mode)
else
err = ((mp_exp_t)1) << err;
err = 1 - (-err+1); /* GET_EXP(one) - (-err+1) = err :) */
- MPFR_FAST_COMPUTE_IF_SMALL_INPUT (z, __gmpfr_one, err, 1, rnd_mode, );
+ MPFR_FAST_COMPUTE_IF_SMALL_INPUT (z, __gmpfr_one, err, 1, rnd_mode,{});
}
d = precz + MPFR_INT_CEIL_LOG2(precz) + 10;