version 1.1.1.2, 2000/09/09 14:12:50 |
version 1.1.1.3, 2003/08/25 16:06:33 |
|
|
/* mpz_fdiv_q -- Division rounding the quotient towards -infinity. |
/* mpz_fdiv_q -- 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, 2000 Free Software Foundation, Inc. |
Copyright 1994, 1995, 1996, 2000, 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_q (mpz_ptr quot, mpz_srcptr dividend, mpz_srcptr divisor) |
mpz_fdiv_q (mpz_ptr quot, mpz_srcptr dividend, mpz_srcptr divisor) |
#else |
|
mpz_fdiv_q (quot, dividend, divisor) |
|
mpz_ptr quot; |
|
mpz_srcptr dividend; |
|
mpz_srcptr divisor; |
|
#endif |
|
{ |
{ |
mp_size_t dividend_size = dividend->_mp_size; |
mp_size_t dividend_size = dividend->_mp_size; |
mp_size_t divisor_size = divisor->_mp_size; |
mp_size_t divisor_size = divisor->_mp_size; |