Skip to content

Commit 420cf01

Browse files
committed
Auto-generated commit
1 parent bd1146e commit 420cf01

File tree

4 files changed

+79
-78
lines changed

4 files changed

+79
-78
lines changed

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-09)
7+
## Unreleased (2026-04-10)
88

99
<section class="features">
1010

@@ -725,6 +725,7 @@ A total of 92 issues were closed in this release:
725725

726726
<details>
727727

728+
- [`69e1068`](https://github.com/stdlib-js/stdlib/commit/69e1068fd9ba96ccf49639e124c8d410b022b248) - **test:** adjust tolerance in `math/base/special/hyp2f1` [(#11351)](https://github.com/stdlib-js/stdlib/pull/11351) _(by Nirmal Jyoti Biswas)_
728729
- [`121f2c0`](https://github.com/stdlib-js/stdlib/commit/121f2c054f54a7e698da43ff6df554fd0ecae7da) - **test:** migrate `math/base/special/hyp2f1` to ULP-based testing [(#11297)](https://github.com/stdlib-js/stdlib/pull/11297) _(by Nirmal Jyoti Biswas)_
729730
- [`bd60a20`](https://github.com/stdlib-js/stdlib/commit/bd60a209ca4b0989663edbbc591bc7da80294827) - **build:** update R version to 4.2.0 in lint workflows [(#11262)](https://github.com/stdlib-js/stdlib/pull/11262) _(by Mara Averick)_
730731
- [`236975e`](https://github.com/stdlib-js/stdlib/commit/236975ef9628ac4c6b9e867325e37a2d9e641ba2) - **chore:** fix C lint errors [(#11313)](https://github.com/stdlib-js/stdlib/pull/11313) _(by Geo Daoyu)_

LICENSE

Lines changed: 56 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,6 @@ The library links against the following external libraries or contains
181181
implementations from the following external libraries, which have their own
182182
licenses:
183183

184-
* FreeBSD <https://svnweb.freebsd.org/>
185-
186-
Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
187-
188-
Developed at SunPro, a Sun Microsystems, Inc. business.
189-
Permission to use, copy, modify, and distribute this
190-
software is freely granted, provided that this notice
191-
is preserved.
192-
193184
* Boost <http://www.boost.org/LICENSE_1_0.txt>
194185

195186
Boost Software License - Version 1.0 - August 17th, 2003
@@ -216,6 +207,42 @@ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
216207
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
217208
DEALINGS IN THE SOFTWARE.
218209

210+
* SpecialFunctions.jl <https://raw.githubusercontent.com/JuliaMath/
211+
SpecialFunctions.jl/02a173fbe24a61c4b392aec17a9764ac5727feb1/LICENSE>
212+
213+
The MIT License (MIT)
214+
215+
Copyright (c) 2017 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and others:
216+
217+
https://github.com/JuliaMath/SpecialFunctions.jl/graphs/contributors
218+
219+
Permission is hereby granted, free of charge, to any person obtaining a copy
220+
of this software and associated documentation files (the "Software"), to deal
221+
in the Software without restriction, including without limitation the rights
222+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
223+
copies of the Software, and to permit persons to whom the Software is
224+
furnished to do so, subject to the following conditions:
225+
226+
The above copyright notice and this permission notice shall be included in all
227+
copies or substantial portions of the Software.
228+
229+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
230+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
231+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
232+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
233+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
234+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
235+
SOFTWARE.
236+
237+
* FreeBSD <https://svnweb.freebsd.org/>
238+
239+
Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
240+
241+
Developed at SunPro, a Sun Microsystems, Inc. business.
242+
Permission to use, copy, modify, and distribute this
243+
software is freely granted, provided that this notice
244+
is preserved.
245+
219246
* Go <https://raw.githubusercontent.com/golang/go/master/LICENSE>
220247

221248
Copyright (c) 2009 The Go Authors. All rights reserved.
@@ -258,17 +285,34 @@ comes with no support or guarantee.
258285

259286
Stephen L. Moshier
260287
moshier@na-net.ornl.gov
288+
289+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
290+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
291+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
292+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
293+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
294+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
295+
DEALINGS IN THE SOFTWARE.
261296
Apache License
262297
Version 2.0, January 2004
263298
http://www.apache.org/licenses/
264299

265-
Stephen L. Moshier
266-
moshier@na-net.ornl.gov
267-
268300
* FDLIBM <http://www.netlib.org/fdlibm/>
269301

270302
Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
271303

304+
Developed at SunPro, a Sun Microsystems, Inc. business.
305+
Permission to use, copy, modify, and distribute this
306+
software is freely granted, provided that this notice
307+
is preserved.
308+
Apache License
309+
Version 2.0, January 2004
310+
http://www.apache.org/licenses/
311+
312+
* SLATEC Common Mathematical Library <https://netlib.org/slatec/>
313+
314+
Public domain.
315+
272316
* Faddeeva <http://ab-initio.mit.edu/wiki/index.php/Faddeeva_Package#License>
273317

274318
Copyright (c) 2012 Massachusetts Institute of Technology
@@ -292,53 +336,3 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
292336
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
293337
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
294338

295-
* SpecialFunctions.jl <https://raw.githubusercontent.com/JuliaMath/
296-
SpecialFunctions.jl/02a173fbe24a61c4b392aec17a9764ac5727feb1/LICENSE>
297-
298-
The MIT License (MIT)
299-
300-
Copyright (c) 2017 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and others:
301-
302-
https://github.com/JuliaMath/SpecialFunctions.jl/graphs/contributors
303-
304-
Permission is hereby granted, free of charge, to any person obtaining a copy
305-
of this software and associated documentation files (the "Software"), to deal
306-
in the Software without restriction, including without limitation the rights
307-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
308-
copies of the Software, and to permit persons to whom the Software is
309-
furnished to do so, subject to the following conditions:
310-
311-
The above copyright notice and this permission notice shall be included in all
312-
copies or substantial portions of the Software.
313-
314-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
315-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
316-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
317-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
318-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
319-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
320-
SOFTWARE.
321-
322-
Developed at SunPro, a Sun Microsystems, Inc. business.
323-
Permission to use, copy, modify, and distribute this
324-
software is freely granted, provided that this notice
325-
is preserved.
326-
Apache License
327-
Version 2.0, January 2004
328-
http://www.apache.org/licenses/
329-
330-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
331-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
332-
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
333-
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
334-
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
335-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
336-
DEALINGS IN THE SOFTWARE.
337-
Apache License
338-
Version 2.0, January 2004
339-
http://www.apache.org/licenses/
340-
341-
* SLATEC Common Mathematical Library <https://netlib.org/slatec/>
342-
343-
Public domain.
344-

base/special/hyp2f1/test/test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var tape = require( 'tape' );
24-
var isnanf = require( './../../../../base/assert/is-nanf' );
24+
var isnan = require( './../../../../base/assert/is-nan' );
2525
var PINF = require( '@stdlib/constants/float64/pinf' );
2626
var isAlmostSameValue = require( '@stdlib/assert/is-almost-same-value' );
2727
var hyp2f1 = require( './../lib' );
@@ -64,16 +64,16 @@ tape( 'the function returns `NaN` if provided `NaN`', function test( t ) {
6464
var v;
6565

6666
v = hyp2f1( NaN, 3.0, 2.0, 0.5 );
67-
t.strictEqual( isnanf( v ), true, 'returns expected value' );
67+
t.strictEqual( isnan( v ), true, 'returns expected value' );
6868

6969
v = hyp2f1( 0.0, NaN, 2.0, 0.5 );
70-
t.strictEqual( isnanf( v ), true, 'returns expected value' );
70+
t.strictEqual( isnan( v ), true, 'returns expected value' );
7171

7272
v = hyp2f1( 0.0, 3.0, NaN, 0.5 );
73-
t.strictEqual( isnanf( v ), true, 'returns expected value' );
73+
t.strictEqual( isnan( v ), true, 'returns expected value' );
7474

7575
v = hyp2f1( 0.0, 3.0, 2.0, NaN );
76-
t.strictEqual( isnanf( v ), true, 'returns expected value' );
76+
t.strictEqual( isnan( v ), true, 'returns expected value' );
7777

7878
t.end();
7979
});

base/special/hyp2f1/test/test.native.js

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var resolve = require( 'path' ).resolve;
2424
var tape = require( 'tape' );
25-
var isnanf = require( './../../../../base/assert/is-nanf' );
25+
var isnan = require( './../../../../base/assert/is-nan' );
2626
var PINF = require( '@stdlib/constants/float64/pinf' );
2727
var isAlmostSameValue = require( '@stdlib/assert/is-almost-same-value' );
2828
var tryRequire = require( '@stdlib/utils/try-require' );
@@ -73,16 +73,16 @@ tape( 'the function returns `NaN` if provided `NaN`', opts, function test( t ) {
7373
var v;
7474

7575
v = hyp2f1( NaN, 3.0, 2.0, 0.5 );
76-
t.strictEqual( isnanf( v ), true, 'returns expected value' );
76+
t.strictEqual( isnan( v ), true, 'returns expected value' );
7777

7878
v = hyp2f1( 0.0, NaN, 2.0, 0.5 );
79-
t.strictEqual( isnanf( v ), true, 'returns expected value' );
79+
t.strictEqual( isnan( v ), true, 'returns expected value' );
8080

8181
v = hyp2f1( 0.0, 3.0, NaN, 0.5 );
82-
t.strictEqual( isnanf( v ), true, 'returns expected value' );
82+
t.strictEqual( isnan( v ), true, 'returns expected value' );
8383

8484
v = hyp2f1( 0.0, 3.0, 2.0, NaN );
85-
t.strictEqual( isnanf( v ), true, 'returns expected value' );
85+
t.strictEqual( isnan( v ), true, 'returns expected value' );
8686

8787
t.end();
8888
});
@@ -167,7 +167,8 @@ tape( 'the function correctly evaluates the hypergeometric function', opts, func
167167
t.strictEqual( v, PINF, 'returns expected value' );
168168
continue;
169169
}
170-
t.strictEqual( isAlmostSameValue( v, expected[ i ], 1 ), true, 'returns expected value' );
170+
// NOTE: the tolerance here is larger than for the JavaScript implementation due to compiler optimizations which may be performed resulting in result divergence. For discussion, see https://github.com/stdlib-js/stdlib/pull/2298#discussion_r1624765205
171+
t.strictEqual( isAlmostSameValue( v, expected[ i ], 2 ), true, 'returns expected value' );
171172
}
172173
t.end();
173174
});
@@ -193,7 +194,8 @@ tape( 'the function correctly evaluates the hypergeometric function', opts, func
193194
t.strictEqual( v, PINF, 'returns expected value' );
194195
continue;
195196
}
196-
t.strictEqual( isAlmostSameValue( v, expected[ i ], 7 ), true, 'returns expected value' );
197+
// NOTE: the tolerance here is larger than for the JavaScript implementation due to compiler optimizations which may be performed resulting in result divergence. For discussion, see https://github.com/stdlib-js/stdlib/pull/2298#discussion_r1624765205
198+
t.strictEqual( isAlmostSameValue( v, expected[ i ], 27 ), true, 'returns expected value' );
197199
}
198200
t.end();
199201
});
@@ -219,7 +221,8 @@ tape( 'the function correctly evaluates the hypergeometric function', opts, func
219221
t.strictEqual( v, PINF, 'returns expected value' );
220222
continue;
221223
}
222-
t.strictEqual( isAlmostSameValue( v, expected[ i ], 18 ), true, 'returns expected value' );
224+
// NOTE: the tolerance here is larger than for the JavaScript implementation due to compiler optimizations which may be performed resulting in result divergence. For discussion, see https://github.com/stdlib-js/stdlib/pull/2298#discussion_r1624765205
225+
t.strictEqual( isAlmostSameValue( v, expected[ i ], 45 ), true, 'returns expected value' );
223226
}
224227
t.end();
225228
});
@@ -245,7 +248,8 @@ tape( 'the function correctly evaluates the hypergeometric function', opts, func
245248
t.strictEqual( v, PINF, 'returns expected value' );
246249
continue;
247250
}
248-
t.strictEqual( isAlmostSameValue( v, expected[ i ], 33 ), true, 'returns expected value' );
251+
// NOTE: the tolerance here is larger than for the JavaScript implementation due to compiler optimizations which may be performed resulting in result divergence. For discussion, see https://github.com/stdlib-js/stdlib/pull/2298#discussion_r1624765205
252+
t.strictEqual( isAlmostSameValue( v, expected[ i ], 100 ), true, 'returns expected value' );
249253
}
250254
t.end();
251255
});
@@ -267,7 +271,9 @@ tape( 'the function correctly evaluates the hypergeometric function', opts, func
267271

268272
for ( i = 0; i < x.length; i++ ) {
269273
v = hyp2f1( a[ i ], b[ i ], c[ i ], x[ i ] );
270-
t.strictEqual( isAlmostSameValue( v, expected[ i ], 294333 ), true, 'returns expected value' );
274+
275+
// NOTE: the tolerance here is larger than for the JavaScript implementation due to compiler optimizations which may be performed resulting in result divergence. For discussion, see https://github.com/stdlib-js/stdlib/pull/2298#discussion_r1624765205
276+
t.strictEqual( isAlmostSameValue( v, expected[ i ], 391554 ), true, 'returns expected value' );
271277
}
272278
t.end();
273279
});

0 commit comments

Comments
 (0)