summaryrefslogtreecommitdiff
path: root/neg.c
diff options
context:
space:
mode:
Diffstat (limited to 'neg.c')
-rw-r--r--neg.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/neg.c b/neg.c
index fff73a65a..55198f9ce 100644
--- a/neg.c
+++ b/neg.c
@@ -26,15 +26,15 @@ MA 02111-1307, USA. */
void
#if __STDC__
-mpfr_neg(mpfr_ptr a, mpfr_srcptr b, unsigned char rnd_mode)
+mpfr_neg(mpfr_ptr a, mpfr_srcptr b, mp_rnd_t rnd_mode)
#else
mpfr_neg(a, b, rnd_mode)
- mpfr_ptr a;
- mpfr_srcptr b;
- unsigned char rnd_mode;
+ mpfr_ptr a;
+ mpfr_srcptr b;
+ mp_rnd_t rnd_mode;
#endif
{
- if (a != b) mpfr_set4(a, b, rnd_mode, -SIGN(b));
+ if (a != b) mpfr_set4(a, b, rnd_mode, -MPFR_SIGN(b));
else CHANGE_SIGN(a);
return;
}