News for hackers. Stuff that matters.
Re:Do I Really Need a Programming Language? by carlob on Sunday December 29, 2013 @10:59AM (#6979935)
x/abs(x) is really sign, which is something you can implement using bitwise oprations.

Your solution fails when price == 100 as sibling pointed out.

There are no comments on this comment yet.