ChenMiaoi commented on code in PR #48476:
URL: https://github.com/apache/doris/pull/48476#discussion_r1976529888


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/executable/NumericArithmetic.java:
##########
@@ -892,6 +894,17 @@ public static Expression sin(DoubleLiteral first) {
         return checkOutputBoundary(new 
DoubleLiteral(Math.sin(first.getValue())));
     }
 
+    /**
+     * sinh
+     */
+    @ExecFunction(name = "sinh")
+    public static Expression sinh(DoubleLiteral first) {
+        if (inputOutOfBound(first, Double.MIN_VALUE, Double.MAX_VALUE, false, 
false)) {

Review Comment:
   In fact, sinh should not need to be checked against the input value, but I 
found that 1E308 was problematic when testing in real regression, so I checked 
it here (but it didn't work), and it should be removed here.



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to