arturobernalg commented on a change in pull request #103:
URL: https://github.com/apache/commons-numbers/pull/103#discussion_r687397942



##########
File path: 
commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Precision.java
##########
@@ -182,7 +182,7 @@ public static boolean equalsIncludingNaN(float x, float y) {
         final boolean yIsNan = Float.isNaN(y);
         // Combine the booleans with bitwise OR
         return (xIsNan | yIsNan) ?
-            !(xIsNan ^ yIsNan) :
+                xIsNan == yIsNan :

Review comment:
       True. Changed
   TY




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to