Message233581
> Do we add a math.neginf, or somesuch, for float('-inf')? Or just use -math.inf?
I would prefer to only add inf.
It looks like float("-inf") and -float("inf") have exactly the same IEEE 754 representation (at least on my x86_64 CPU):
>>> struct.pack("d", float("-inf")) == struct.pack("d", -float("inf"))
True |
|
Date |
User |
Action |
Args |
2015-01-07 16:42:16 | vstinner | set | recipients:
+ vstinner, ethan.furman |
2015-01-07 16:42:15 | vstinner | set | messageid: <1420648935.99.0.141526308239.issue23185@psf.upfronthosting.co.za> |
2015-01-07 16:42:15 | vstinner | link | issue23185 messages |
2015-01-07 16:42:15 | vstinner | create | |
|