summaryrefslogtreecommitdiff
path: root/neg.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-02-11 17:18:40 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-02-11 17:18:40 +0000
commitaab9ca0a75e9f7663435439c026776aa2cc8fd79 (patch)
tree078baec0ae316133ba64d4efed4bdab5ea35a15b /neg.c
parentb45da4327ee545cbf3bc4dbeaf7c589af18997d6 (diff)
downloadmpfr-aab9ca0a75e9f7663435439c026776aa2cc8fd79.tar.gz
unsigned char -> mp_rnd_t
SIGN -> MPFR_SIGN git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@472 280ebfd0-de03-0410-8827-d642c229c3f4
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;
}