In article <42274012$1@news.povray.org>, Jo Jaquinta <jo### [at] 111george com>
wrote:
> I'm trying to create a sgn() function, like in BASIC. Where sgn(x) =
> -1 if x < 0, +1 if x > 0 and 0 if x = 0.
One already exists in math.inc.
--
Christopher James Huff <cja### [at] gmail com>
POV-Ray TAG: <chr### [at] tag povray org>
http://tag.povray.org/
Post a reply to this message
|