POV-Ray : Newsgroups : povray.general : difference problem w/3.1 : Re: difference problem w/3.1 Server Time
13 Aug 2024 09:29:20 EDT (-0400)
  Re: difference problem w/3.1  
From: Dan Connelly
Date: 4 Oct 1998 09:02:51
Message: <361763EB.D0992D34@flash.net>
Nieminen Mika wrote:

>   No, it's not a bug. Povray works perfectly. How do you expect povray to
> know which one of the coincident planes is at the most top?

No.   It is a bug.

It is a simple fact of algebra that any object minus itelf equals zero,
or null.  In POV this is not the case.  Therefore it is a bug.

Does (sqrt 2)^2 - 2 = 0?  Is 3 * (1/3) - 1 = 0?  Of course.  But computers
may not yield these results.

There is no ambiguity in the case of difference.

Now in the case of union, I agree with you.

Dan

P.S. Just because it is a bug doesn't mean it should be fixed, as
the problem is with the way computers represent floating point numbers,
and thus isn't something which POV should try to correct.

-- 
http://www.flash.net/~djconnel/


Post a reply to this message

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