rmuir commented on PR #12632:
URL: https://github.com/apache/lucene/pull/12632#issuecomment-1752033176

   > What is the maximum value that we can see in the input bytes? 
   
   All possible values is how i test
   
   > Can they every hold `-128`? 
   
   Yes!
   
   > Do we need to handle "overflow" in the short accumulation and subsequent 
conversion to `int`?
   
   No! integer fma won't overflow here. and i know that isn't obvious and 
probably needs a code comment lol. that's why it only works for these two 
methods and not the square.
   


-- 
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: issues-unsubscr...@lucene.apache.org

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


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

Reply via email to