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
https://parallel101.github.io/cppguidebook/cpp_tricks/ 地板除与天花板除中描述C 语言默认的就是地板除。
这里的描述应该有问题吧,c语言的除法应该是截断除法(Truncated Division)。。
7/3 = 2 -7/3 = -2
python 整除默认的是地板除法。
7//3 = 2 -7//3 = -3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://parallel101.github.io/cppguidebook/cpp_tricks/ 地板除与天花板除中描述C 语言默认的就是地板除。
这里的描述应该有问题吧,c语言的除法应该是截断除法(Truncated Division)。。
python 整除默认的是地板除法。
The text was updated successfully, but these errors were encountered: