benwtrent commented on issue #15408:
URL: https://github.com/apache/lucene/issues/15408#issuecomment-3492937664

   > For normalized dot product we should be able apply both a min and a max to 
keep the value in bounds, right?
   
   Anything below `-1` indicates a rounding error that should be accounted for. 
Possibly it should have a maximum value of `1f` to prevent rounding errors in 
the other direction.
   
   It seems to me that applying the snapping earlier just fixes the issue for 
both.


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