Algorithms
Friday, September 2, 2011
Maximum of two values using abs
max(a,b) = (abs(a+b)+abs(a-b))/2;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment