This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: math.ceil() python 2.7
Type: Stage: resolved
Components: Versions: Python 2.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: akinfemi09, zach.ware
Priority: normal Keywords:

Created on 2016-12-16 20:29 by akinfemi09, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg283434 - (view) Author: femi (akinfemi09) Date: 2016-12-16 20:29
math.ceil(10/3) python 2.7.12 returns 3
msg283435 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2016-12-16 20:31
The `/` operator in Python 2 does integer division.  `math.ceil(10/3)` in Python 2 is equivalent to `math.ceil(3)`.
History
Date User Action Args
2022-04-11 14:58:40adminsetgithub: 73179
2016-12-16 20:31:28zach.waresetstatus: open -> closed

nosy: + zach.ware
messages: + msg283435

resolution: not a bug
stage: resolved
2016-12-16 20:29:42akinfemi09create