
Dec. 30, 2019
5:18 p.m.
Steven D'Aprano <steve@pearwood.info> wrote:
Can you explain the scenario where somebody using median will want
negative NANs to sort to the beginning, below -INF, and positive NANs to sort to the end, above +INF?
No, and I don’t think anyone really wants that. I think it was proposed as a possible improvement on non-deterministic results, and/or a way to address this issue by only changing how the sorting is done. Whether IEEE total order is useful in some other contexts is a totally separate question. -CHB -- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython