0

"Floor division "

I want to know the origin of the "floor division "I

15th Aug 2018, 9:42 AM
LinYue
LinYue - avatar
1 ответ
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
15th Aug 2018, 4:10 PM
Chihiro Kanai
Chihiro Kanai - avatar