Re: Tasks

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

found it ;)


(carl's code)
function min(object a, object b)
return  a*(a<=b)  +   b*(b<a)
end function

grin ;) carl, the master of one-liners so very ownZ...
gawd, how DOES he think this chit up?
it hurts my head just looking at that one again...
the abs was bad nuff:
     return x * ( (x>0) - (x<0) )
but the min/max just makes my wittle bwain hurtZ


----- Original Message -----
From: jiri babor <jbabor at PARADISE.NET.NZ>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Monday, August 14, 2000 5:25 AM
Subject: Re: Tasks


> Hawke', you are wicked. I spent close to ten minutes trying to come up
> with a decent min/max one-liner. Only to discover your memory is even
> worse than mine: I am almost sure your forgotten one-liners were
> Carl's sign and abs functions.
>
> Admit it! jiri
>


_____NetZero Free Internet Access and Email______
   http://www.netzero.net/download/index.html

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

Search



Quick Links

User menu

Not signed in.

Misc Menu