POV-Ray : Newsgroups : povray.general : abs()? : Re: abs()? Server Time
1 Aug 2024 10:14:19 EDT (-0400)
  Re: abs()?  
From: Tim Cook
Date: 16 Nov 2005 14:28:13
Message: <437b884d$1@news.povray.org>
Warp wrote:
>   What is curious is that people get confused but they don't try to think
> about it at all. How would you understand "if A is negative, returns -A"?

I see "if A is negative" and parse "-A", then the -A following that 
makes me think "-A, returns -A", instead of "if the number is negative, 
the sign is dropped".

-- 
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

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