POV-Ray : Newsgroups : povray.off-topic : Really epic : Re: Really epic Server Time
11 Oct 2024 07:12:29 EDT (-0400)
  Re: Really epic  
From: Warp
Date: 14 Feb 2008 15:29:41
Message: <47b4a4b5@news.povray.org>
Orchid XP v7 <voi### [at] devnull> wrote:
>    solve2 a b c =
>      let det  = sqrt det2
>          det2 = b*b - 4*a*c
>          a2   = 2*a
>      in  [(0-b-det)/a2, (0-b+det)/a2]

  I wonder what something along the lines of this would do:

foo a =
  let res = if a<2 then 1 else a*foo(a-1)
  in res

-- 
                                                          - Warp


Post a reply to this message

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