POV-Ray : Newsgroups : povray.general : Function: Making negative numbers positive : Re: Function: Making negative numbers positive Server Time
24 Jun 2024 09:01:04 EDT (-0400)
  Re: Function: Making negative numbers positive  
From: Cousin Ricky
Date: 30 Nov 2015 07:46:44
Message: <565c4534$1@news.povray.org>
On 2015-11-27 03:37 PM (-4), clipka wrote:
> Am 27.11.2015 um 20:26 schrieb Alain:
>> It's always safer to assume that the value in question *may* be negative
>> as well as positive.
>> You want the result to be *always* positive indepentently if it's
>> original sign.
>
> Actually we can't tell whether that's what the OP wants, as he never
> told us the intended result for this case. (Though I'd agree it's a good
> guess that he would have known about the negation or multiplication by
> -1 if that had been the behaviour he was after.)

It would be helpful if the OP would write back and explain what he 
wants.  By now, the confusion caused by his ambiguity should be clear to 
any reader.


Post a reply to this message

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