mpn_tdiv_qr

Kevin Ryde user42@zip.com.au
Mon, 03 Feb 2003 07:55:59 +1000


Jason Moxham <J.L.Moxham@maths.soton.ac.uk> writes:
>
> In the docs for mpn_tdiv_qr there is the restriction that NN>=DN 
> is this correct?

Umm, yes ... probably.

> as it allows for the function to return a zero quotient
> , especially if {N,NN} is not normalized

I expect that's what happens.

High zero limbs should probably be stripped by the caller, if there's
a likelyhood of there being any.