POV-Ray : Newsgroups : povray.beta-test : Doc Error for mod? : Re: Doc Error for mod? Server Time
30 Jul 2024 10:16:32 EDT (-0400)
  Re: Doc Error for mod?  
From: Tom Melly
Date: 23 Nov 2001 11:41:59
Message: <3bfe7c57@news.povray.org>

news:3BFE5354.407A08EE@atosorigin.com...
> "Bob H." wrote:

> >
> > "Tom Melly" <tom### [at] tomandlucouk> wrote in message
> > news:3bfe2478@news.povray.org...
> > > The docs refer to mod(A, B) as:
> > > Formula is mod=((A/B)-int(A/B))*B
>
> That's correct.
>
> > >
> > > Shouldn't that be:
> > > Formula is mod=A-(int(A/B)*B)
> >
>
> That's also correct.
>

Oh, good. I mean, I'm still confused, but good, as in good, the docs aren't
wrong...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.