morrySnow commented on code in PR #54939:
URL: https://github.com/apache/doris/pull/54939#discussion_r2284341612


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/executable/NumericArithmetic.java:
##########
@@ -132,7 +132,7 @@ public static Expression 
addLargeIntLargeInt(LargeIntLiteral first, LargeIntLite
     @ExecFunction(name = "add")
     public static Expression addDoubleDouble(DoubleLiteral first, 
DoubleLiteral second) {
         double result = first.getValue() + second.getValue();
-        return checkOutputBoundary(new DoubleLiteral(result));
+        return new DoubleLiteral(result);

Review Comment:
   all of these function has test case for return inf and Nan?



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to