Message359780
[Steven]
> I think the second argument should also be optional, so
> that nextafter(x) returns the next representable float.
That's why the name sucks - there are, in general, two adjacent floats, so "next" is ambiguous. I expect you intend that y default to math.inf, which would make one-argument `nextafter(x)` a spelling of `nextUp(x)`. Fine by me! That's probably the one I want most often. |
|
Date |
User |
Action |
Args |
2020-01-11 05:45:36 | tim.peters | set | recipients:
+ tim.peters, lemburg, rhettinger, mark.dickinson, vstinner, stutzbach, steven.daprano |
2020-01-11 05:45:35 | tim.peters | set | messageid: <1578721535.96.0.0435671449775.issue39288@roundup.psfhosted.org> |
2020-01-11 05:45:35 | tim.peters | link | issue39288 messages |
2020-01-11 05:45:35 | tim.peters | create | |
|