We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ceil_divide_signed
Application Version Versions including this commit 3b34b69277
It looks like this function is logically incorrect?
inline unsigned int ceil_divide_signed(int dividend, int divisor) //!< Return dividend divided by divisor rounded up towards positive infinity. { return (dividend / divisor) + (dividend * divisor > 0 ? 1 : 0); } // it returns 31 instead of 30 ceil_divide_signed(90, 3);
Is this beahviour expected?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Application Version
Versions including this commit 3b34b69277
It looks like this function is logically incorrect?
Is this beahviour expected?
The text was updated successfully, but these errors were encountered: