Skip to content

Conversation

j-t-1
Copy link
Contributor

@j-t-1 j-t-1 commented Apr 5, 2023

…n applied to the result. For floating point numbers, int(x) truncates towards zero. Thus for positive numbers, but not for negative, the functionality is the same, with floor division terser and avoids extra parentheses.

…n applied to the result. For floating point numbers, int(x) truncates towards zero. Thus for positive numbers, but not for negative, the functionality is the same, with floor division terser and avoids extra parentheses.
@erocarrera erocarrera merged commit 270b44e into erocarrera:master Apr 7, 2023
@j-t-1 j-t-1 deleted the floor_division branch April 29, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants