You are viewing a single comment's thread. Return to all comments →
Why do you want to reinvent the wheel ? The use of 'std::abs' is totally justified here and make the code shorter and clearer.
And by not using another variable, your code is absolutly incomprehensible.
Seems like cookies are disabled on this browser, please enable them to open this website
Pointer
You are viewing a single comment's thread. Return to all comments →
Why do you want to reinvent the wheel ? The use of 'std::abs' is totally justified here and make the code shorter and clearer.
And by not using another variable, your code is absolutly incomprehensible.