Re: ABS --fastest thus far

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

Ralf Nieuwenhuijsen wrote:
>>can anyone beat carl's compare({x},{0}) suggestion?
> May I notice compare ({x}, {0}) only has the same effect as (x>0)-(x<0) for
> atoms.
> For sequences it does *not* work. You need to use: (x>0)-(x<0)
errrrr.... *blush*
yer right... oopsie!
see other post for my bestest solution (abs4)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu