Skip to content

Commit b0c2e5c

Browse files
committed
Auto-generated commit
1 parent 252c7e0 commit b0c2e5c

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ package.json.copy
2525
###############
2626
build/
2727
downloads/
28+
plans/
2829
reports/
2930
tmp/
3031

@@ -175,6 +176,10 @@ acs-*.bib
175176
*.ind
176177
*.ist
177178

179+
# Git #
180+
#######
181+
.worktrees
182+
178183
# Visual Studio #
179184
#################
180185
.vscode/

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<section class="release" id="unreleased">
66

7-
## Unreleased (2026-04-22)
7+
## Unreleased (2026-04-23)
88

99
<section class="features">
1010

@@ -731,6 +731,7 @@ A total of 96 issues were closed in this release:
731731

732732
<details>
733733

734+
- [`a02b852`](https://github.com/stdlib-js/stdlib/commit/a02b852b2e784220dba5ee181970e8ef3e921d2e) - **test:** migrate `math/base/special/betaln` to ULP-based testing [(#11717)](https://github.com/stdlib-js/stdlib/pull/11717) _(by Mandeep2333)_
734735
- [`bf821ca`](https://github.com/stdlib-js/stdlib/commit/bf821ca698340a14342ae1b12b5ea74b339f6adf) - **chore:** propagate recent fixes to sibling packages [(#11696)](https://github.com/stdlib-js/stdlib/pull/11696) _(by Philipp Burckhardt)_
735736
- [`23d316f`](https://github.com/stdlib-js/stdlib/commit/23d316f6eda9201e0827d9f98ee523f9270d5939) - **bench:** refactor to use dynamic memory allocation in `maths/strided/special` [(#11697)](https://github.com/stdlib-js/stdlib/pull/11697) _(by Uday Kakade)_
736737
- [`1089250`](https://github.com/stdlib-js/stdlib/commit/1089250db272eca254d75532dcc159a6a0aaafc3) - **chore:** fix JavaScript lint errors [(#11692)](https://github.com/stdlib-js/stdlib/pull/11692) _(by Matt Van Horn, Athan Reines)_

base/special/betaln/test/test.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ var tape = require( 'tape' );
2424
var isInfinite = require( './../../../../base/assert/is-infinite' );
2525
var isnan = require( '@stdlib/assert/is-nan' );
2626
var PINF = require( '@stdlib/constants/float64/pinf' );
27-
var EPS = require( '@stdlib/constants/float64/eps' );
28-
var abs = require( './../../../../base/special/abs' );
27+
var isAlmostSameValue = require( '@stdlib/assert/is-almost-same-value' );
2928
var betaln = require( './../lib' );
3029

3130

@@ -81,8 +80,6 @@ tape( 'the function returns +Infinity if at least one argument is zero', functio
8180

8281
tape( 'the function evaluates the natural logarithm of the beta function', function test( t ) {
8382
var actual;
84-
var delta;
85-
var tol;
8683
var b1;
8784
var b2;
8885
var i;
@@ -96,9 +93,7 @@ tape( 'the function evaluates the natural logarithm of the beta function', funct
9693
b2 = isnan( expected[ i ] );
9794
t.strictEqual( b1, b2, 'returned result is ' + ( (b1) ? '' : 'not' ) + ' NaN' );
9895
if ( !b1 ) {
99-
delta = abs( actual - expected[ i ] );
100-
tol = 2.0 * EPS * abs( expected[ i ] );
101-
t.strictEqual( delta <= tol, true, 'returned result is within tolerance. actual: ' + actual + '; expected: ' + expected[ i ] + '.' );
96+
t.strictEqual( isAlmostSameValue( actual, expected[ i ], 2 ), true, 'returns expected value' );
10297
}
10398
}
10499
t.end();

0 commit comments

Comments
 (0)