Skip to content

Commit ccff4bf

Browse files
committed
Auto-generated commit
1 parent dffec9f commit ccff4bf

8 files changed

Lines changed: 433 additions & 2 deletions

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-09-13)
7+
## Unreleased (2025-10-01)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15+
- [`3c033a4`](https://github.com/stdlib-js/stdlib/commit/3c033a4ba718f4383126edcdf6fc974950d0ead8) - **test:** add tests to achieve full coverage in `erf`, `erfc`, `erfcinv`, `erfcx`, and `erfinv` _(by Philipp Burckhardt)_
1516
- [`86edcb5`](https://github.com/stdlib-js/stdlib/commit/86edcb559be453cb7d1156076bfc940a37a39af0) - **chore:** add structured package data for packages in `math/base/special` [(#8054)](https://github.com/stdlib-js/stdlib/pull/8054) _(by Gunj Joshi, Athan Reines)_
1617
- [`44010b3`](https://github.com/stdlib-js/stdlib/commit/44010b3e8509ab22c32750fa125a1155f5fd8995) - **docs:** fix return annotation values _(by Philipp Burckhardt)_
1718
- [`630ddb7`](https://github.com/stdlib-js/stdlib/commit/630ddb777824b5f6e501fda6dadf4ce41dccb964) - **test:** replace equal with strictEqual _(by Karan Anand)_

CONTRIBUTORS

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Ahmed Khaled <kahmd1444@gmail.com>
2020
Aksshay Balasubramanian <119944779+Aksshay88@users.noreply.github.com>
2121
Aleksandr <112382387+alextes90@users.noreply.github.com>
2222
Ali Salesi <ali_sal1381@yahoo.com>
23-
AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
23+
Aly Abdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
2424
Aman Bhansali <bhansali.1@iitj.ac.in>
2525
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
2626
Amisha Chhajed <136238836+amishhaa@users.noreply.github.com>
@@ -29,6 +29,7 @@ Anmol Sah <113588714+anmolsah@users.noreply.github.com>
2929
Annamalai Prabu <apfossdev@gmail.com>
3030
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
3131
Anshu Kumar <contact.anshukumar@protonmail.com>
32+
Anshuman Singh <109489361+Anshumancanrock@users.noreply.github.com>
3233
Anudeep Sanapala <anudeep0306@gmail.com>
3334
Arihant Pal <arihant0pal@gmail.com>
3435
Aryan Bhirud <112156883+AryanBhirud@users.noreply.github.com>
@@ -137,6 +138,7 @@ Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
137138
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
138139
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
139140
Ori Miles <97595296+orimiles5@users.noreply.github.com>
141+
Payal Goswami <payalgoswami9711@gmail.com>
140142
Philipp Burckhardt <pburckhardt@outlook.com>
141143
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
142144
Pradyumn Prasad <pradyumnprasad.567@gmail.com>
@@ -178,6 +180,7 @@ Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
178180
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
179181
Satyajeet Chavan <chavansatyajeet2004@gmail.com>
180182
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
183+
Seth-Banker <125103042+Seth-Banker@users.noreply.github.com>
181184
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
182185
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
183186
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
@@ -220,6 +223,7 @@ Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
220223
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
221224
Yugal Kaushik <yugalkaushik14@gmail.com>
222225
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
226+
Zuhair Ahmad <157193652+Zuhair-CS@users.noreply.github.com>
223227
deepak427 <62477872+deepak427@users.noreply.github.com>
224228
devshree-bhati <147095250+devshree-bhati@users.noreply.github.com>
225229
ditsu <170345142+ditsus@users.noreply.github.com>

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"@stdlib/utils-library-manifest": "^0.2.2"
5151
},
5252
"devDependencies": {
53+
"@stdlib/assert-is-number": "^0.2.2",
5354
"@stdlib/console-log-each-map": "github:stdlib-js/console-log-each-map#main",
5455
"@stdlib/constants-float64-eps": "^0.2.2",
5556
"@stdlib/fs-read-file": "^0.2.2",

test/test.rational_p1q1.js

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
/**
2+
* @license Apache-2.0
3+
*
4+
* Copyright (c) 2025 The Stdlib Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
'use strict';
20+
21+
// MODULES //
22+
23+
var tape = require( 'tape' );
24+
var isNumber = require( '@stdlib/assert-is-number' ).isPrimitive;
25+
var rational = require( './../lib/rational_p1q1.js' );
26+
27+
28+
// TESTS //
29+
30+
tape( 'main export is a function', function test( t ) {
31+
t.ok( true, __filename );
32+
t.strictEqual( typeof rational, 'function', 'main export is a function' );
33+
t.end();
34+
});
35+
36+
tape( 'the function returns a number for x = 0', function test( t ) {
37+
var v = rational( 0.0 );
38+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
39+
t.end();
40+
});
41+
42+
tape( 'the function evaluates a rational function for positive values less than 1', function test( t ) {
43+
var v;
44+
45+
v = rational( 0.5 );
46+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
47+
48+
v = rational( 0.1 );
49+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
50+
51+
v = rational( 0.9 );
52+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
53+
54+
t.end();
55+
});
56+
57+
tape( 'the function evaluates a rational function for positive values greater than 1', function test( t ) {
58+
var v;
59+
60+
v = rational( 1.5 );
61+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
62+
63+
v = rational( 2.0 );
64+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
65+
66+
v = rational( 10.0 );
67+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
68+
69+
t.end();
70+
});
71+
72+
tape( 'the function evaluates a rational function for negative values', function test( t ) {
73+
var v;
74+
75+
v = rational( -0.5 );
76+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
77+
78+
v = rational( -1.0 );
79+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
80+
81+
v = rational( -2.0 );
82+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
83+
84+
t.end();
85+
});

test/test.rational_p2q2.js

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
/**
2+
* @license Apache-2.0
3+
*
4+
* Copyright (c) 2025 The Stdlib Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
'use strict';
20+
21+
// MODULES //
22+
23+
var tape = require( 'tape' );
24+
var isNumber = require( '@stdlib/assert-is-number' ).isPrimitive;
25+
var rational = require( './../lib/rational_p2q2.js' );
26+
27+
28+
// TESTS //
29+
30+
tape( 'main export is a function', function test( t ) {
31+
t.ok( true, __filename );
32+
t.strictEqual( typeof rational, 'function', 'main export is a function' );
33+
t.end();
34+
});
35+
36+
tape( 'the function returns a number for x = 0', function test( t ) {
37+
var v = rational( 0.0 );
38+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
39+
t.end();
40+
});
41+
42+
tape( 'the function evaluates a rational function for positive values less than 1', function test( t ) {
43+
var v;
44+
45+
v = rational( 0.5 );
46+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
47+
48+
v = rational( 0.1 );
49+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
50+
51+
v = rational( 0.9 );
52+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
53+
54+
t.end();
55+
});
56+
57+
tape( 'the function evaluates a rational function for positive values greater than 1', function test( t ) {
58+
var v;
59+
60+
v = rational( 1.5 );
61+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
62+
63+
v = rational( 2.0 );
64+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
65+
66+
v = rational( 10.0 );
67+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
68+
69+
t.end();
70+
});
71+
72+
tape( 'the function evaluates a rational function for negative values', function test( t ) {
73+
var v;
74+
75+
v = rational( -0.5 );
76+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
77+
78+
v = rational( -1.0 );
79+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
80+
81+
v = rational( -2.0 );
82+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
83+
84+
t.end();
85+
});

test/test.rational_p3q3.js

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
/**
2+
* @license Apache-2.0
3+
*
4+
* Copyright (c) 2025 The Stdlib Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
'use strict';
20+
21+
// MODULES //
22+
23+
var tape = require( 'tape' );
24+
var isNumber = require( '@stdlib/assert-is-number' ).isPrimitive;
25+
var rational = require( './../lib/rational_p3q3.js' );
26+
27+
28+
// TESTS //
29+
30+
tape( 'main export is a function', function test( t ) {
31+
t.ok( true, __filename );
32+
t.strictEqual( typeof rational, 'function', 'main export is a function' );
33+
t.end();
34+
});
35+
36+
tape( 'the function returns a number for x = 0', function test( t ) {
37+
var v = rational( 0.0 );
38+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
39+
t.end();
40+
});
41+
42+
tape( 'the function evaluates a rational function for positive values less than 1', function test( t ) {
43+
var v;
44+
45+
v = rational( 0.5 );
46+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
47+
48+
v = rational( 0.1 );
49+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
50+
51+
v = rational( 0.9 );
52+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
53+
54+
t.end();
55+
});
56+
57+
tape( 'the function evaluates a rational function for positive values greater than 1', function test( t ) {
58+
var v;
59+
60+
v = rational( 1.5 );
61+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
62+
63+
v = rational( 2.0 );
64+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
65+
66+
v = rational( 10.0 );
67+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
68+
69+
t.end();
70+
});
71+
72+
tape( 'the function evaluates a rational function for negative values', function test( t ) {
73+
var v;
74+
75+
v = rational( -0.5 );
76+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
77+
78+
v = rational( -1.0 );
79+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
80+
81+
v = rational( -2.0 );
82+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
83+
84+
t.end();
85+
});

0 commit comments

Comments
 (0)