[Vorbis-dev] Never executing loop in smallft.c
R.L. Horn
lists at eastcheap.org
Tue Apr 27 05:43:22 PDT 2010
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.
More information about the Vorbis-dev
mailing list