Message226541
I tried my hand at writing a patch. I hope it is helpful.
The message of the 2001 commit that introduces this says that "there's no platform-independent way to write a test case for this". I assume with @support.requires_IEEE_754 that is no longer true (at least for non-exotic platforms), or was there another issue?
I noticed there is no test suite for float floordiv, so I attempted writing a fuller one, but when I saw that
>>> float('inf') // 1.0
nan
I decided to keep my first CPython patch small and focused, so I can learn the ropes. I'll file more issues later. |
|
Date |
User |
Action |
Args |
2014-09-07 19:06:27 | petr.viktorin | set | recipients:
+ petr.viktorin, tim.peters, rhettinger, mark.dickinson, steven.daprano, skrah, eryksun |
2014-09-07 19:06:27 | petr.viktorin | set | messageid: <1410116787.74.0.898377617203.issue22198@psf.upfronthosting.co.za> |
2014-09-07 19:06:27 | petr.viktorin | link | issue22198 messages |
2014-09-07 19:06:27 | petr.viktorin | create | |
|