POV-Ray : Newsgroups : povray.general : (cos(pi/2)>0) and (cos(pi/2)=0) are both true : Re: (cos(pi/2)>0) and (cos(pi/2)=0) are both true Server Time
8 Aug 2024 22:09:36 EDT (-0400)
  Re: (cos(pi/2)>0) and (cos(pi/2)=0) are both true  
From: Didier
Date: 27 Sep 2000 17:50:11
Message: <39d26b93$1@news.povray.org>
Thank you, I found a work around

#if ((cos(pi/2)>0) & (cos(pi/2)!=0))
  sphere { 0.0, 1
    pigment {Yellow}
    translate x
    }
#end

#if (cos(pi/2)=0)
  sphere { 0.0, 1
    pigment {Green}
    translate -x
    }
#end


39d2179e$1@news.povray.org...
> In article <39d1d511@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:
>
> >   Shouldn't the epsilon value be the same for = and for > thus making
them
> > unique?
>
> See "(X <= D) is not equal ((X<D) | (X=D))" in povray.bugreports.
>
>
>     Thorsten


Post a reply to this message

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