Closed sunsided closed 3 months ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
src/lib.rs | 1 | 79.97% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 4354937295: | -0.6% |
Covered Lines: | 407 |
Relevant Lines: | 446 |
Thank you, can you bump https://github.com/danielhstahl/black_scholes_rust/blob/master/Cargo.toml#L3 to 10.2?
Done!
This changes some function calls to avoid divisions and replace them with constants.
This PR also includes #27 for use of
black_box
in benchmarks. Compared to that I get slighly reduced mean durations with improved error bounds:Like in #27, the benchmark test will also fail here due to the changed duration baselines.