Do the same optimisation done by rhettinger for math.floor in https://github.com/python/cpython/pull/21072 <!-- gh-linked-prs --> ### Linked PRs * gh-108801 <!-- /gh-linked-prs -->
Activity
gh-110489: Optimise math.ceil for known exact float (#108801)
pythongh-110489: Optimise math.ceil for known exact float (python#108801