0
"Floor division "
I want to know the origin of the "floor division "I
1 Answer
0
In what context?
It's standard mathematics.
4//3 = 1
i.e. floor(x), floor(4/3) = 1
Returns greatest integer less than or equal to x.
FYI - Details of why/how it was introduced in Python 3.0 can be found below.
https://docs.python.org/3/whatsnew/2.2.html#pep-238-changing-the-division-operator