POV-Ray : Newsgroups : povray.documentation.inbuilt : not precise ceil and floor description : Re: not precise ceil and floor description Server Time
29 Apr 2024 22:48:35 EDT (-0400)
  Re: not precise ceil and floor description  
From: Thorsten Froehlich
Date: 23 Sep 2002 16:54:25
Message: <3d8f7f81$1@news.povray.org>
In article <hibtoug7u3s1731hppu1l70c3bm3sa8og8@4ax.com> , ABX 
<abx### [at] abxartpl>  wrote:

>> No, double negations and negations of comparisons are extremely bad.
>
> We use double negations in polish so it can insfluence my report however I'm
> confused. I can't find double negation in my replacement proposition and
> before I send it I have checked many sites with C descriptions and mostly
> found they use "not less"/"not greater" versions. Those C functions are
> directly called in POV parser. Would you like to unroll your statement ?

It is meant general and specifically.  The general part of the "double
negations" and the specific part is the "negations of comparisons".  The
term "not less" means "greater or equal", and "not greater" means "less or
equal".  Or in C terms "!(a < b)" is much better presented as "(a >= b)" ;-)

    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.