POV-Ray : Newsgroups : povray.advanced-users : Negative division : Re: Negative division Server Time
29 Jul 2024 08:21:04 EDT (-0400)
  Re: Negative division  
From: Thorsten Froehlich
Date: 10 Mar 2003 13:55:39
Message: <3e6cdfab$1@news.povray.org>
In article <3e6cc573@news.povray.org> , gimi <gim### [at] psicoch>  wrote:

> this is what both the programmers of povray, and the engineers
> at hp did, and why the results are different, but neither are
> *wrong*!

Yes, because you only look at div and mod as one system.  You have to
consider the use of div without mod.  And then the rounding rules get
arbitrary as a special case just to fit mod, which in nonsense to do.  And
just because engineers at HP didn't know how to produce a logical
implementation doesn't make their implementation right.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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