|
![](/i/fill.gif) |
"Ard" <ard### [at] waikato ac nz> wrote:
> Anybody agree? Anybody care?
As someone who uses congruences modulo a positive integer quite a bit, I
also am used to thinking of mod(a,b) as returning the "principal value" of
the congruence class (i.e. the number 0 <= r < b), but the fixes are pretty
easy, albiet frustrating when you forget the POVRay definition. And since
I don't use C, C++ or Perl, I can't comment on what's "better," or "more
common" from a programming point of view, though Thorsten's usually pretty
definitive on those questions.
Dave Matthews
Post a reply to this message
|
![](/i/fill.gif) |