aherbert commented on PR #33: URL: https://github.com/apache/commons-statistics/pull/33#issuecomment-1100919937
Math.min has performance implications when used with float values. In this case a clipped distribution does occur for extreme values. Here math min would use a conversion to raw bits and is slower. The simple less than operator is fine. It also allows code coverage checks to show the code path is executed and thus is required. -- 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]
