Re: abs()

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 27 Oct 2004 11:14:44 +0100, Carl W.
<euphoria at cyreksoft.yorks.com> wrote:
> I did change the return line to:
> }}}
<eucode>
>      return x*( 1 - 2*(x<0) )
> </eucode>
{{{

> ...as otherwise it wouldn't return correct results for anything in the
> atom range 0.0 to 1.0.

Hehehe... oops getlost

-- 
MrTrick

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu