Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F2978
Python 2 and 3 behaviors related to divide and integer floor.
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
dereckson
May 22 2015, 12:27
2015-05-22 12:27:40 (UTC+0)
Size
750 B
Referenced Files
None
Subscribers
None
Python 2 and 3 behaviors related to divide and integer floor.
View Options
dereckson@tasacora:~/workspace/repositories/tasacora-experimental/core/tests (master) $ python2
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 3/2
1
>>>
dereckson@tasacora:~/workspace/repositories/tasacora-experimental/core/tests (master) $ python3
Python 3.4.0 (default, Apr 11 2014, 13:05:11)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 3/2
1.5
/home/dereckson ] python3
Python 3.3.5 (default, Dec 3 2014, 04:17:16)
[GCC 4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)] on freebsd10
Type "help", "copyright", "credits" or "license" for more information.
>>> int(1.5)
1
>>>
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2900
Default Alt Text
Python 2 and 3 behaviors related to divide and integer floor. (750 B)
Attached To
Mode
P75 Python 2 and 3 behaviors related to divide and integer floor.
Attached
Detach File
Event Timeline
Log In to Comment