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
// Case: incoming value is greater than current maximum value...
99
-
elseif(x>max){
105
+
// Case: both incoming and outgoing values are NaN...
106
+
elseif(isnan(x)&&isnan(buf[i])){
107
+
max=x;
108
+
}
109
+
// Case: incoming value is greater than current maximum value OR incoming value is equal to current maximum value which is zero...
110
+
elseif(x>max||(x===max&&isPositiveZero(x))){
100
111
max=x;
101
112
}
102
113
// Case: outgoing value is the current maximum and the new value is less than the maximum, and, thus, we need to find a new maximum among the current values...
0 commit comments