POV-Ray : Newsgroups : povray.programming : Surprising change in speed of comparison operators : Re: Surprising change in speed of comparison operators Server Time
11 Oct 2024 15:03:04 EDT (-0400)
  Re: Surprising change in speed of comparison operators  
From: jr
Date: 3 May 2024 04:35:00
Message: <web.6634a17170d2947b1686e436cde94f1@news.povray.org>
hi,

Ilya Razmanov <ily### [at] gmailcom> wrote:
> On 02.05.2024 12:49, jr wrote:
> > ...
> > unsure I understand '!>' correctly, meaning "not greater" ?  if so, then that is
> > just another way of saying "less than", ie '<' (saving two keystrokes :-)).
>
> "Not greater" is "less or equal" actually ;-)

yes.  (I had one of my "shit-for-brains" days.  sorry)


> I'm just suggesting trying
> to do it some other way (different branch of "if" or something) and see
> what happens. Yes, I know that from math point of view it's the same,
> I'm suggesting to evaluate prog point of view ;-)

I've never looked at the povray source code (C++), but would be surprised if
adding a '!>' (and '!<' for "symmetry"?) operator were real "difficult".


regards, jr.


Post a reply to this message

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