Skip to content

Commit 3b316e2

Browse files
committed
Auto-generated commit
1 parent 16d5ea7 commit 3b316e2

5 files changed

Lines changed: 84 additions & 5 deletions

File tree

.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: 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 (2025-08-25)
7+
## Unreleased (2025-10-01)
88

99
<section class="reverts">
1010

@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`c1cb6ae`](https://github.com/stdlib-js/stdlib/commit/c1cb6ae0965bc8aa432b8eb2dddb03c8e1b42a2f) - **test:** add tests to achieve full coverage in `cbrt` _(by Philipp Burckhardt)_
2526
- [`ffb8d78`](https://github.com/stdlib-js/stdlib/commit/ffb8d78f3585b29d72f2eb98e7b2164bed7a7ce7) - **chore:** fix duplicate example value in `math/base/special/cbrt` [(#7951)](https://github.com/stdlib-js/stdlib/pull/7951) _(by Nakul Krishnakumar)_
2627
- [`dd5765d`](https://github.com/stdlib-js/stdlib/commit/dd5765d771186bddbbc716d577bb94eafc0ac36b) - **docs:** replace manual `for` loop in examples [(#6607)](https://github.com/stdlib-js/stdlib/pull/6607) _(by Harsh)_
2728
- [`630ddb7`](https://github.com/stdlib-js/stdlib/commit/630ddb777824b5f6e501fda6dadf4ce41dccb964) - **test:** replace equal with strictEqual _(by Karan Anand)_

CONTRIBUTORS

Lines changed: 9 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>
@@ -42,6 +43,7 @@ Bruno Fenzl <brunofenzl@gmail.com>
4243
Bryan Elee <rxbryn@gmail.com>
4344
Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
4445
Christopher Dambamuromo <chridam@gmail.com>
46+
DUDHAT HEMIL PRAVINKUMAR <138382078+Hemil36@users.noreply.github.com>
4547
Dan Rose <danoftheroses@gmail.com>
4648
Daniel Hernandez Gomez <156333015+dhernandeez13@users.noreply.github.com>
4749
Daniel Killenberger <daniel.killenberger@gmail.com>
@@ -65,6 +67,7 @@ Frank Kovacs <fran70kk@gmail.com>
6567
GK Bishnoi <gkishan1kyt@gmail.com>
6668
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
6769
Gaurav <gaurav70380@gmail.com>
70+
Gaurav Kaushik <144526331+Gauravkaushik-1206@users.noreply.github.com>
6871
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
6972
Gautam sharma <gautamkrishnasharma1@gmail.com>
7073
GeoDaoyu <geodaoyu@foxmail.com>
@@ -135,6 +138,7 @@ Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
135138
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
136139
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
137140
Ori Miles <97595296+orimiles5@users.noreply.github.com>
141+
Payal Goswami <payalgoswami9711@gmail.com>
138142
Philipp Burckhardt <pburckhardt@outlook.com>
139143
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
140144
Pradyumn Prasad <pradyumnprasad.567@gmail.com>
@@ -176,9 +180,11 @@ Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
176180
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
177181
Satyajeet Chavan <chavansatyajeet2004@gmail.com>
178182
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
183+
Seth-Banker <125103042+Seth-Banker@users.noreply.github.com>
179184
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
180185
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
181186
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
187+
Shaswata Panda <106397517+shaswata-26@users.noreply.github.com>
182188
Shivam Ahir <11shivam00@gmail.com>
183189
Shivansh <114570926+shiv343@users.noreply.github.com>
184190
Shraddheya Shendre <shendreshraddheya@gmail.com>
@@ -199,6 +205,7 @@ Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
199205
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
200206
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
201207
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
208+
Tyson Cung <45380903+tysoncung@users.noreply.github.com>
202209
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
203210
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
204211
Utkarsh <http://utkarsh11105@gmail.com>
@@ -216,6 +223,7 @@ Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
216223
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
217224
Yugal Kaushik <yugalkaushik14@gmail.com>
218225
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
226+
Zuhair Ahmad <157193652+Zuhair-CS@users.noreply.github.com>
219227
deepak427 <62477872+deepak427@users.noreply.github.com>
220228
devshree-bhati <147095250+devshree-bhati@users.noreply.github.com>
221229
ditsu <170345142+ditsus@users.noreply.github.com>

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"@stdlib/utils-library-manifest": "^0.2.2"
5555
},
5656
"devDependencies": {
57+
"@stdlib/assert-is-number": "^0.2.2",
5758
"@stdlib/console-log-each-map": "github:stdlib-js/console-log-each-map#main",
5859
"@stdlib/constants-float64-eps": "^0.2.2",
5960
"@stdlib/constants-float64-ninf": "^0.2.2",

test/test.polyval_p.js

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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 polyval = require( './../lib/polyval_p.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 polyval, 'function', 'main export is a function' );
33+
t.end();
34+
});
35+
36+
tape( 'the function evaluates a polynomial for x = 0', function test( t ) {
37+
var v = polyval( 0.0 );
38+
t.strictEqual( v, 1.87595182427177, 'returns expected value' );
39+
t.end();
40+
});
41+
42+
tape( 'the function evaluates a polynomial for positive values', function test( t ) {
43+
var v;
44+
45+
v = polyval( 0.5 );
46+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
47+
48+
v = polyval( 1.0 );
49+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
50+
51+
t.end();
52+
});
53+
54+
tape( 'the function evaluates a polynomial for negative values', function test( t ) {
55+
var v;
56+
57+
v = polyval( -0.5 );
58+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
59+
60+
v = polyval( -1.0 );
61+
t.strictEqual( isNumber( v ), true, 'returns expected value' );
62+
63+
t.end();
64+
});

0 commit comments

Comments
 (0)