POV-Ray : Newsgroups : povray.unofficial.patches : Max and Min : Re: Max and Min Server Time
2 Sep 2024 00:19:57 EDT (-0400)
  Re: Max and Min  
From: Warp
Date: 30 Aug 2000 10:52:29
Message: <39ad1fac@news.povray.org>
Greg M. Johnson <gre### [at] my-dejanewscom> wrote:
: You're sure you don't have to put the smaller one in first?

#macro GimmeTheMinimumOf(A, B)
  #if (A<B)
    #local result = min(A, B);
  #else
    #local result = min(B, A);
  #end
  result
#end


  (Hmm... a new form of povray humor?-) )

-- 
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.