[BACK]Return to fdiv_r.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp / mpz

Diff for /OpenXM_contrib/gmp/mpz/Attic/fdiv_r.c between version 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2000/09/09 14:12:51 version 1.1.1.3, 2003/08/25 16:06:33
Line 1 
Line 1 
 /* mpz_fdiv_r -- Division rounding the quotient towards -infinity.  /* mpz_fdiv_r -- Division rounding the quotient towards -infinity.
    The remainder gets the same sign as the denominator.     The remainder gets the same sign as the denominator.
   
 Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.  Copyright 1994, 1995, 1996, 2001 Free Software Foundation, Inc.
   
 This file is part of the GNU MP Library.  This file is part of the GNU MP Library.
   
Line 24  MA 02111-1307, USA. */
Line 24  MA 02111-1307, USA. */
 #include "gmp-impl.h"  #include "gmp-impl.h"
   
 void  void
 #if __STDC__  
 mpz_fdiv_r (mpz_ptr rem, mpz_srcptr dividend, mpz_srcptr divisor)  mpz_fdiv_r (mpz_ptr rem, mpz_srcptr dividend, mpz_srcptr divisor)
 #else  
 mpz_fdiv_r (rem, dividend, divisor)  
      mpz_ptr rem;  
      mpz_srcptr dividend;  
      mpz_srcptr divisor;  
 #endif  
 {  {
   mp_size_t divisor_size = divisor->_mp_size;    mp_size_t divisor_size = divisor->_mp_size;
   mpz_t temp_divisor;           /* N.B.: lives until function returns! */    mpz_t temp_divisor;           /* N.B.: lives until function returns! */

Legend:
Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>