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.