POV-Ray : Newsgroups : povray.beta-test : Are '&' and '|' switched? : Re: Are '&' and '|' switched? Server Time
30 Jul 2024 22:20:16 EDT (-0400)
  Re: Are '&' and '|' switched?  
From: ingo
Date: 26 Sep 2001 10:13:48
Message: <Xns9128A519E6F15seed7@povray.org>
in news:Xns### [at] povrayorg ingo wrote:

> Expected the outcome of the scene below to be te other way around.
> 

Also '<=' does not seem to behave as one would expect.

                                           //a=  -2 -1  0  1  1
                                           //------------------
//#declare F=function(a){a>=0}       //returns    0  0  1  1  1

  #declare F=function(a){a<=0}       //returns    1  1  0  0  0 
                                     //expected   1  1  1  0  0


Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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