Skip to content

Commit 3adccfc

Browse files
committed
Auto-generated commit
1 parent bed747d commit 3adccfc

File tree

6 files changed

+103
-7
lines changed

6 files changed

+103
-7
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,12 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191-
192-
# Cursor #
193-
##########
191+
.cursor
194192
.cursorignore
193+
.windsurfrules
194+
.clinerules
195+
196+
# AI coding agents #
197+
####################
198+
CLAUDE.md
199+
GEMINI.md

CHANGELOG.md

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

7-
## Unreleased (2025-07-28)
7+
## Unreleased (2025-10-01)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15+
- [`52e5b8b`](https://github.com/stdlib-js/stdlib/commit/52e5b8b77789e7056e1cd2d44107a7cc0e893ee9) - **test:** add tests to achieve full coverage in `gamma-lanczos-sum`, `gamma-lanczos-sum-expg-scaled`, and `gamma-lanczos-sum-expg-scaledf` _(by Philipp Burckhardt)_
1516
- [`cae9a13`](https://github.com/stdlib-js/stdlib/commit/cae9a136511539fae4e92823d912e27dfbedfe6d) - **docs:** replace manual `for` loop in examples [(#6635)](https://github.com/stdlib-js/stdlib/pull/6635) _(by Harsh)_
1617
- [`630ddb7`](https://github.com/stdlib-js/stdlib/commit/630ddb777824b5f6e501fda6dadf4ce41dccb964) - **test:** replace equal with strictEqual _(by Karan Anand)_
1718
- [`a1e230f`](https://github.com/stdlib-js/stdlib/commit/a1e230f29297caa89880e9c194c615a0400fb7bc) - **chore:** clean up cppcheck-suppress comments _(by Karan Anand)_
@@ -29,11 +30,12 @@
2930

3031
### Contributors
3132

32-
A total of 3 people contributed to this release. Thank you to the following contributors:
33+
A total of 4 people contributed to this release. Thank you to the following contributors:
3334

3435
- Athan Reines
3536
- Harsh
3637
- Karan Anand
38+
- Philipp Burckhardt
3739

3840
</section>
3941

CONTRIBUTORS

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ Abdelrahman Samir <[email protected]>
99
Abdul Kaium <[email protected]>
1010
Abhay Punia <[email protected]>
1111
Abhijit Raut <[email protected]>
12+
Abhishek G <[email protected]>
1213
Abhishek Jain <[email protected]>
1314
Adarsh Palaskar <[email protected]>
1415
Aditya Sapra <[email protected]>
16+
Aditya Singh <[email protected]>
1517
Ahmed Atwa <[email protected]>
1618
Ahmed Kashkoush <[email protected]>
1719
Ahmed Khaled <[email protected]>
1820
Aksshay Balasubramanian <[email protected]>
1921
Aleksandr <[email protected]>
2022
Ali Salesi <[email protected]>
21-
AlyAbdelmoneim <[email protected]>
23+
Aly Abdelmoneim <[email protected]>
2224
Aman Bhansali <[email protected]>
2325
AmanBhadkariya <[email protected]>
2426
Amisha Chhajed <[email protected]>
@@ -27,6 +29,7 @@ Anmol Sah <[email protected]>
2729
Annamalai Prabu <[email protected]>
2830
Anshu Kumar <[email protected]>
2931
Anshu Kumar <[email protected]>
32+
Anshuman Singh <[email protected]>
3033
Anudeep Sanapala <[email protected]>
3134
Arihant Pal <[email protected]>
3235
Aryan Bhirud <[email protected]>
@@ -40,6 +43,7 @@ Bruno Fenzl <[email protected]>
4043
Bryan Elee <[email protected]>
4144
Chinmay Joshi <[email protected]>
4245
Christopher Dambamuromo <[email protected]>
46+
DUDHAT HEMIL PRAVINKUMAR <[email protected]>
4347
4448
Daniel Hernandez Gomez <[email protected]>
4549
Daniel Killenberger <[email protected]>
@@ -63,6 +67,7 @@ Frank Kovacs <[email protected]>
6367
GK Bishnoi <[email protected]>
6468
GURU PRASAD SHARMA <[email protected]>
6569
70+
Gaurav Kaushik <[email protected]>
6671
Gautam Kaushik <[email protected]>
6772
Gautam sharma <[email protected]>
6873
@@ -119,6 +124,8 @@ Momtchil Momtchev <[email protected]>
119124
Muhammad Haris <[email protected]>
120125
Muhammad Taaha Tariq <[email protected]>
121126
Muhmmad Saad <[email protected]>
127+
NEEKUorAAYUSH <[email protected]>
128+
Nakul Krishnakumar <[email protected]>
122129
Naresh Jagadeesan <[email protected]>
123130
Naveen Kumar <[email protected]>
124131
Neeraj Pathak <[email protected]>
@@ -131,8 +138,10 @@ Nourhan Hasan <[email protected]>
131138
Ognjen Jevremović <[email protected]>
132139
Oneday12323 <[email protected]>
133140
Ori Miles <[email protected]>
141+
Payal Goswami <[email protected]>
134142
Philipp Burckhardt <[email protected]>
135143
Pierre Forstmann <[email protected]>
144+
Pradyumn Prasad <[email protected]>
136145
Prajjwal Bajpai <[email protected]>
137146
Prajwal Kulkarni <[email protected]>
138147
Pranav Goswami <[email protected]>
@@ -161,6 +170,7 @@ Ruthwik Chikoti <[email protected]>
161170
Ryan Seal <[email protected]>
162171
Rylan Yang <[email protected]>
163172
SAHIL KUMAR <[email protected]>
173+
SAUJANYA MAGARDE <[email protected]>
164174
SHIVAM YADAV <[email protected]>
165175
Sachin Raj <[email protected]>
166176
Sahil Goyal <[email protected]>
@@ -170,9 +180,11 @@ Sanchay Ketan Sinha <[email protected]>
170180
Sarthak Paandey <[email protected]>
171181
Satyajeet Chavan <[email protected]>
172182
Saurabh Singh <[email protected]>
183+
Seth-Banker <[email protected]>
173184
Seyyed Parsa Neshaei <[email protected]>
174185
Shabareesh Shetty <[email protected]>
175186
Shashank Shekhar Singh <[email protected]>
187+
Shaswata Panda <[email protected]>
176188
Shivam Ahir <[email protected]>
177189
178190
Shraddheya Shendre <[email protected]>
@@ -183,6 +195,7 @@ Sivam Das <[email protected]>
183195
Snehil Shah <[email protected]>
184196
Soumajit Chatterjee <[email protected]>
185197
Spandan Barve <[email protected]>
198+
Srinivas Batthula <[email protected]>
186199
Stephannie Jiménez Gacha <[email protected]>
187200
Suhaib Ilahi <[email protected]>
188201
Suraj Kumar <[email protected]>
@@ -192,21 +205,25 @@ Tirtadwipa Manunggal <[email protected]>
192205
Tudor Pagu <[email protected]>
193206
Tufailahmed Bargir <[email protected]>
194207
Tushar Bhardwaj <[email protected]>
208+
Tyson Cung <[email protected]>
195209
Uday Kakade <[email protected]>
196210
Ujjwal Kirti <[email protected]>
197211
Utkarsh <http://[email protected]>
198212
Utkarsh Raj <[email protected]>
199213
UtkershBasnet <[email protected]>
200214
Vaibhav Patel <[email protected]>
215+
Vansh Choudhary <[email protected]>
201216
Vara Rahul Rajana <[email protected]>
202217
Varad Gupta <[email protected]>
203218
Vinit Pandit <[email protected]>
204219
Vivek Maurya <[email protected]>
220+
Wendy Yuchen Sun <[email protected]>
205221
Xiaochuan Ye <[email protected]>
206222
Yaswanth Kosuru <[email protected]>
207223
Yernar Yergaziyev <[email protected]>
208224
Yugal Kaushik <[email protected]>
209225
Yuvi Mittal <[email protected]>
226+
Zuhair Ahmad <[email protected]>
210227
deepak427 <[email protected]>
211228
devshree-bhati <[email protected]>
212229

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@
4646
},
4747
"devDependencies": {
4848
"@stdlib/array-base-linspace": "^0.2.2",
49+
"@stdlib/assert-is-number": "^0.2.2",
4950
"@stdlib/console-log-each-map": "github:stdlib-js/console-log-each-map#main",
5051
"@stdlib/constants-float64-eps": "^0.2.2",
5152
"@stdlib/constants-float64-gamma-lanczos-g": "^0.2.2",
53+
"@stdlib/constants-float64-pinf": "^0.2.2",
5254
"@stdlib/fs-read-file": "^0.2.2",
5355
"@stdlib/fs-write-file": "^0.2.2",
5456
"@stdlib/math-base-assert-is-nan": "^0.2.2",

test/test.rational_pq.js

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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 PINF = require( '@stdlib/constants-float64-pinf' );
26+
var rational = require( './../lib/rational_pq.js' );
27+
28+
29+
// TESTS //
30+
31+
tape( 'main export is a function', function test( t ) {
32+
t.ok( true, __filename );
33+
t.strictEqual( typeof rational, 'function', 'main export is a function' );
34+
t.end();
35+
});
36+
37+
tape( 'the function returns `Infinity` for x = 0', function test( t ) {
38+
var v = rational( 0.0 );
39+
t.strictEqual( v, PINF, 'returns expected value' );
40+
t.end();
41+
});
42+
43+
tape( 'the function evaluates a rational function for positive values', function test( t ) {
44+
var v;
45+
46+
v = rational( 0.5 );
47+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
48+
49+
v = rational( 1.0 );
50+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
51+
52+
v = rational( 2.0 );
53+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
54+
55+
t.end();
56+
});
57+
58+
tape( 'the function evaluates a rational function for negative values', function test( t ) {
59+
var v;
60+
61+
v = rational( -0.5 );
62+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
63+
64+
v = rational( -1.0 );
65+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
66+
67+
v = rational( -2.0 );
68+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
69+
70+
t.end();
71+
});

0 commit comments

Comments
 (0)