Message380007
Having fromhex() support signed NaNs was reasonable because it is a valid possible input; however, the case isn't as clear-cut for output. Since applications are allowed to ignore the sign bit, no application should rely on seeing a particular sign for a NaN.
Also, existing applications may already have NaNs where the sign bit is set. If we change the output, we could break their published examples and doctests. So, this proposal may cause more harm than good. |
|
Date |
User |
Action |
Args |
2020-10-30 22:26:02 | rhettinger | set | recipients:
+ rhettinger, mark.dickinson, sree314 |
2020-10-30 22:26:02 | rhettinger | set | messageid: <1604096762.84.0.988224872115.issue42210@roundup.psfhosted.org> |
2020-10-30 22:26:02 | rhettinger | link | issue42210 messages |
2020-10-30 22:26:02 | rhettinger | create | |
|