|
|
Log in / Subscribe / Register

Some median Python NaNsense

Some median Python NaNsense

Posted Jan 6, 2020 13:51 UTC (Mon) by rbanffy (guest, #103898)
In reply to: Some median Python NaNsense by NYKevin
Parent article: Some median Python NaNsense

Sorting infinite and -infinite isn't much of a problem, but where does a number go when you have an integer that is in the middle of the range of possible NaNs?


to post comments

Some median Python NaNsense

Posted Jan 7, 2020 0:49 UTC (Tue) by Baughn (subscriber, #124425) [Link]

NaNs are larger than infinity, so no such integer exists.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds