POV-Ray : Newsgroups : povray.unofficial.patches : Why & has higher precedence than + or - in isosurface functions? : Re: Why & has higher precedence than + or - in isosurface functions? Server Time
2 Sep 2024 00:15:32 EDT (-0400)
  Re: Why & has higher precedence than + or - in isosurface functions?  
From: Thorsten Froehlich
Date: 1 Aug 2000 07:45:21
Message: <3986b851$1@news.povray.org>
In article <3986a55a@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

>   Also | should have lower precedence than &, so if we have this:
>
> x-y | y-z & x+z
>
> it should be interpreted in this way:
>
> (x-y) | ((y-z) & (x+z))
>
>   In this way it will be consistent with mathematics.

I agree.


____________________________________________________
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.