uschindler commented on PR #12281: URL: https://github.com/apache/lucene/pull/12281#issuecomment-1587147803
I think we could decide to also disallow such vectors. If the square of one its components gets infinity it should maybe also be rejected. What do you think? ```java float y= 1e31f * 1e31f; System.err.println(y); // prints "Infinity" ``` Maybe we change the infinite check to use 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: [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]
