You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Referring to the conversation linked in the OP, mathematically, it sorta makes sense to ignore NaNs and return -Inf..Inf/Inf/-Inf as results. However, NaNs in a program would likely appear as a result of some errors or anomalies. I would not want my code to to just silently ignore them.
Thus, my vote is to have min/max return a NaN if any of the values is a NaN. minmax would return a NaN..NaN
Migrated from rt.perl.org#127506 (status was 'open')
Searchable as RT127506$
The text was updated successfully, but these errors were encountered: