POV-Ray : Newsgroups : povray.off-topic : Really epic : Re: Really epic Server Time
11 Oct 2024 05:22:14 EDT (-0400)
  Re: Really epic  
From: Orchid XP v7
Date: 14 Feb 2008 15:35:18
Message: <47b4a606$1@news.povray.org>
Warp wrote:

>   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

Looks like YAFFI [Yet Another Factorial Function] to me. ;-)

[And yes, for anybody else reading it, it works just fine...]

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

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