On 27Aug2021 15:50, Finn Mason <[email protected]> wrote:
>Perhaps a math.hasnan() function for collections could be implemented with
>binary search?
>
>math.hasnan(seq)

Why would a binary search be of use? A staraight sequential scan of the 
sequence seems the only reliable method. Binary search is for finding a 
value in an ordered sequence.

Cheers,
Cameron Simpson <[email protected]>
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/22IYUUJRCPCYUIZBXAUHWE6SBPTIHQME/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to