[MPlayer-dev-eng] [PATCH] cropdetect
Shachar Raindel
shacharr at gmail.com
Wed Aug 11 18:46:12 CEST 2004
On Tue, 10 Aug 2004 22:54:49 -0700 (PDT), Loren Merritt
<lorenm at u.washington.edu> wrote:
> On Tue, 10 Aug 2004, Tristan Seligmann wrote:
> > On Tue, Aug 10, 2004 at 16:40:04 -0500, Joey Parrish wrote:
> > > Does C do stupid things with negative number and modulo math?
> >
> > Yes. -1 % 2 == -1.
> >
> > Feel free to bang your head against the nearest wall now.
>
> Even worse: "The sign of the result for % is machine-dependent for
> negative operands." -- K&R
>
Can anyone get me a K&R copy, so that I will be able to bang my head in it?
Cheers,
Shachar
More information about the MPlayer-dev-eng
mailing list