Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76324 > unrolled thread

Odd floor-division corner case

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2014-08-14 18:31 +0100
Last post2014-08-14 18:31 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Odd floor-division corner case Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-14 18:31 +0100

#76324 — Odd floor-division corner case

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-08-14 18:31 +0100
SubjectOdd floor-division corner case
Message-ID<mailman.13005.1408037563.18130.python-list@python.org>
 From http://bugs.python.org/issue22198

 >>> -0.5 // float('inf')
-1.0

What should it be?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web