POV-Ray : Newsgroups : povray.unofficial.patches : Max and Min : Re: Max and Min Server Time
2 Sep 2024 00:19:04 EDT (-0400)
  Re: Max and Min  
From: Tom Melly
Date: 25 Aug 2000 04:27:44
Message: <39a62e00$1@news.povray.org>
"Chris Huff" <chr### [at] maccom> wrote in message
news:chrishuff-53993B.16221524082000@news.povray.org...
> In article <39a58c39@news.povray.org>, "Tom Melly"
> <tom### [at] tomandluforce9couk> wrote:
>
> > Assume I'm a complete idiot - what do max and min do in functions,
> > and what is the syntax?
>
> They take two parameters. Min returns the lesser(minimum) of the two,
> and max returns the greater(maximum) of the two. The order of the
> parameters does not matter.

Many thanks - I guessed this after posting but wasn't sure. I was initially
confused by looking up min and max in my dictionary of mathematics which
went on about horizontal tangents to a curve. Ah well.


Post a reply to this message

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