diff --git a/CHANGELOG.md b/CHANGELOG.md index 07d2e36d7..14afaa7d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5962,6 +5962,7 @@ A total of 30 people contributed to this release. Thank you to the following con
+- [`252286d`](https://github.com/stdlib-js/stdlib/commit/252286d5d3357112ff718f0e3dc5ae758836efd3) - **bench:** remove irrelevant benchmark, update `boost` link in `math/base/special/gamma-delta-ratio` _(by Gunj Joshi)_ - [`01126b1`](https://github.com/stdlib-js/stdlib/commit/01126b1a0519c87778b802efd352d3117028bb88) - **style:** compare `n` with `integer`, not a `double` in `math/base/special/binomcoefln` [(#2775)](https://github.com/stdlib-js/stdlib/pull/2775 ) _(by Gunj Joshi)_ - [`068bc90`](https://github.com/stdlib-js/stdlib/commit/068bc905997d518fef79bd94f22772f02a8915c4) - **docs:** add comment, revert to previous tolerance in `math/base/special/factorialln` [(#2778)](https://github.com/stdlib-js/stdlib/pull/2778) _(by Gunj Joshi)_ - [`18bd1b5`](https://github.com/stdlib-js/stdlib/commit/18bd1b5ace1a7dbd9d26bb66c1a1f0aa91573416) - **feat:** add C implementation for `math/base/special/besselj1` _(by Gunj Joshi, Philipp Burckhardt)_ diff --git a/base/special/gamma-delta-ratio/benchmark/benchmark.native.js b/base/special/gamma-delta-ratio/benchmark/benchmark.native.js index fa2183b63..ac67a89ef 100644 --- a/base/special/gamma-delta-ratio/benchmark/benchmark.native.js +++ b/base/special/gamma-delta-ratio/benchmark/benchmark.native.js @@ -22,7 +22,6 @@ var resolve = require( 'path' ).resolve; var bench = require( '@stdlib/bench' ); -var gamma = require( './../../../../base/special/gamma' ); var randu = require( '@stdlib/random/base/randu' ); var isnan = require( './../../../../base/assert/is-nan' ); var tryRequire = require( '@stdlib/utils/try-require' ); @@ -61,26 +60,3 @@ bench( pkg+'::native', opts, function benchmark( b ) { b.pass( 'benchmark finished' ); b.end(); }); - -bench( pkg+'::native,naive', function benchmark( b ) { - var delta; - var z; - var y; - var i; - - b.tic(); - for ( i = 0; i < b.iterations; i++ ) { - z = randu() * 100.0; - delta = randu() * 100.0; - y = gamma( z ) / gamma( z + delta ); - if ( isnan( y ) ) { - b.fail( 'should not return NaN' ); - } - } - b.toc(); - if ( isnan( y ) ) { - b.fail( 'should not return NaN' ); - } - b.pass( 'benchmark finished' ); - b.end(); -}); diff --git a/base/special/gamma-delta-ratio/lib/gamma_delta_ratio_lanczos.js b/base/special/gamma-delta-ratio/lib/gamma_delta_ratio_lanczos.js index fc21c1b0c..732716329 100644 --- a/base/special/gamma-delta-ratio/lib/gamma_delta_ratio_lanczos.js +++ b/base/special/gamma-delta-ratio/lib/gamma_delta_ratio_lanczos.js @@ -18,7 +18,7 @@ * * ## Notice * -* The original C++ code and copyright notice are from the [Boost library]{@link http://www.boost.org/doc/libs/1_64_0/boost/math/special_functions/gamma.hpp}. The implementation has been modified for JavaScript. +* The original C++ code and copyright notice are from the [Boost library]{@link http://www.boost.org/doc/libs/1_85_0/boost/math/special_functions/gamma.hpp}. The implementation has been modified for JavaScript. * * ```text * Copyright John Maddock 2006-7, 2013-14.