yuluo-yx opened a new issue, #2205:
URL: https://github.com/apache/hertzbeat/issues/2205

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   IntervalExpressionUtil.validNumberIntervalExpress(-1000.0, "(-∞,5)");
   
   Mathematically, it should be correct and return true, but the execution 
returns false.
   
   ### Expected Behavior
   
   return true.
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Environment
   
   ```markdown
   HertzBeat version(s):
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   In java, Double MIN_VALUE is the smallest positive integer close to 0, not 
negative infinity, and should be used as Double.NEGATIVE_INFINITY & 
Double.POSITIVE_INFINITY. 
   
   
![image](https://github.com/apache/hertzbeat/assets/77964041/183a7810-4c4b-4894-a2cd-39dce55c2cc0)
   


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