POV-Ray : Newsgroups : povray.general : 2^3*4^4: quick what is it? : Re: 2^3*4^4: quick what is it? Server Time
8 Aug 2024 20:25:46 EDT (-0400)
  Re: 2^3*4^4: quick what is it?  
From: Warp
Date: 30 Nov 2000 17:54:26
Message: <3a26daa2@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote:
: Just out of curiosity if you know the answer is 2048 why don't you
: just put 2048 in as your declared value ? Sure would make your
: code more readable.

  Sometimes putting the result is less readable than putting the calculation
used to get the result.

  For example, I bet that this:

sphere { <1,2,3>*.25, 10*.25 }

tells you more about what is happening than this:

sphere { <.25, .5, .75>, 2.5 }

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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