Re: Never executing loop in smallft.c

"R.L. Horn" <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.vorbis.devel
Message-ID <[email protected]>
On Mon, 26 Apr 2010, Christophe Bouev wrote:

> I do not really know but I guess that because nq, among others, is an 
> integer, you cannot say that nr will always be 0 (try it with n=5, nl=5, 
> j=0, ntry=4 => nq=(int)5/4=1 => nr=5-4=1).

Exactly.  nq is quotient, nr remainder.

IOW, nr=nl-ntry*nq is a kind of goofy, but reliable, way of saying 
nr=nl%ntry.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.