hiSandog commented on PR #419: URL: https://github.com/apache/commons-validator/pull/419#issuecomment-4942256882
Handling `Float` separately is important because its decimal round-trip string is not necessarily the exact widened value used in numeric comparison. In addition to the positive upper-bound regression, a mirrored negative-bound case near `-1e20f` would help catch sign-sensitive behavior in both `minValue` and `maxValue`. A test using `Float.NaN` or infinity would also clarify whether these non-finite operands are intentionally rejected or delegated to the existing exception path. -- 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]
