Some median Python NaNsense
Some median Python NaNsense
Posted Jan 5, 2020 16:48 UTC (Sun) by scientes (guest, #83068)Parent article: Some median Python NaNsense
> Sort the list using total order (which would move NaNs to both ends of the list, depending on their sign bits).
This is not a viable solution, as there is no such thing as negative NaN in the IEE 754 standard, and as such ARM processors normalize negative NaN to positive NaN, unsetting the signed bit, which differs from the behavior of x86_64 processors, and would mean you would get different results on differn't cpus.
