ali-ghanbari edited a comment on pull request #804:
URL: https://github.com/apache/commons-lang/pull/804#issuecomment-974268711


   > [...] Since floor and ceiling are mathematical concepts, I would think it 
belongs in Commons Math [...]
   
   Thanks, @garydgregory , for reviewing my PR.
   While waiting for @kinow and @chtompki , and others, I just wanted to add 
that `floor` and `ceiling` are _generic_ array (binary) search methods, and in 
my opinion they should be come with normal binary search.
   Yes, they might be seen as multivariate functions, if we had variants only 
for searching numerical arrays, but `floor` and `ceiling` can be used for 
searching any array as long as a comparator is defined for their elements.
   
   Many thanks


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