Skip to content

Commit b3c36f4

Browse files
committed
Auto-generated commit
1 parent 0470927 commit b3c36f4

File tree

11 files changed

+109
-36
lines changed

11 files changed

+109
-36
lines changed

.github/.keepalive

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

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
We are excited about your pull request, but unfortunately we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib). We kindly request that you submit this pull request against the [respective directory](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/assert/is-safe-integer) of the main repository where we’ll review and provide feedback.
44

5-
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md) for help on developing stdlib.
5+
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/contributing/development.md) for help on developing stdlib.
66

77
We look forward to receiving your contribution! :smiley:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,7 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191+
192+
# Cursor #
193+
##########
194+
.cursorignore

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-02-10)
7+
## Unreleased (2025-04-15)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15+
- [`4d0f11a`](https://github.com/stdlib-js/stdlib/commit/4d0f11a021200333b20632885427a8e269454283) - **bench:** update random value generation [(#6692)](https://github.com/stdlib-js/stdlib/pull/6692) _(by Harsh)_
1516
- [`f387603`](https://github.com/stdlib-js/stdlib/commit/f387603e739f88a38af3263ce6ff675ad903ee8c) - **docs:** consistently use declarative instead of imperative sentences outside of intros _(by Philipp Burckhardt)_
1617
- [`2777e4b`](https://github.com/stdlib-js/stdlib/commit/2777e4be161869d09406e3b17947d24c64b47af2) - **bench:** resolve lint errors in benchmarks _(by Athan Reines)_
1718

@@ -25,9 +26,10 @@
2526

2627
### Contributors
2728

28-
A total of 2 people contributed to this release. Thank you to the following contributors:
29+
A total of 3 people contributed to this release. Thank you to the following contributors:
2930

3031
- Athan Reines
32+
- Harsh
3133
- Philipp Burckhardt
3234

3335
</section>

CONTRIBUTORS

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,31 @@
33
# Contributors listed in alphabetical order.
44

55
Aadish Jain <jain.aadishj@gmail.com>
6+
Aarya Balwadkar <142713127+AaryaBalwadkar@users.noreply.github.com>
67
Aayush Khanna <aayushiitbhu23@gmail.com>
8+
Abdelrahman Samir <60700731+abdelrahman04@users.noreply.github.com>
9+
Abdul Kaium <97376242+impawstarlight@users.noreply.github.com>
10+
Abhay Punia <156515195+Hecker165@users.noreply.github.com>
711
Abhijit Raut <abhijitmraut8010@gmail.com>
12+
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
813
Adarsh Palaskar <adarshpalaskar99@gmail.com>
914
Aditya Sapra <adityaework@gmail.com>
1015
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1116
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
1217
Ahmed Khaled <kahmd1444@gmail.com>
18+
Aksshay Balasubramanian <119944779+Aksshay88@users.noreply.github.com>
1319
Aleksandr <112382387+alextes90@users.noreply.github.com>
1420
Ali Salesi <ali_sal1381@yahoo.com>
21+
AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
1522
Aman Bhansali <bhansali.1@iitj.ac.in>
23+
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
1624
Amit Jimiwal <amitjimiwal45@gmail.com>
25+
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
26+
Anshu Kumar <contact.anshukumar@protonmail.com>
1727
Anudeep Sanapala <anudeep0306@gmail.com>
1828
Athan Reines <kgryte@gmail.com>
1929
Ayaka <73595362+USERSATOSHI@users.noreply.github.com>
30+
Bhavishy Agrawal <90029607+bhavishy2801@users.noreply.github.com>
2031
Brendan Graetz <bguiz@users.noreply.github.com>
2132
Bruno Fenzl <brunofenzl@gmail.com>
2233
Bryan Elee <rxbryn@gmail.com>
@@ -26,23 +37,37 @@ Dan Rose <danoftheroses@gmail.com>
2637
Daniel Killenberger <daniel.killenberger@gmail.com>
2738
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
2839
Debashis Maharana <debashismaharana7854@gmail.com>
40+
Deep Trivedi <128926685+thedeeppp@users.noreply.github.com>
2941
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
3042
Dev Goel <135586571+corsairier@users.noreply.github.com>
43+
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
3144
Dhruv Arvind Singh <154677013+DhruvArvindSingh@users.noreply.github.com>
45+
Dhruvil Mehta <68022411+dhruvilmehta@users.noreply.github.com>
46+
Dipjyoti Das <126075231+dipexplorer@users.noreply.github.com>
3247
Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com>
3348
Dominic Lim <46486515+domlimm@users.noreply.github.com>
3449
Dominik Moritz <domoritz@gmail.com>
3550
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
3651
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
3752
Frank Kovacs <fran70kk@gmail.com>
53+
GK Bishnoi <gkishan1kyt@gmail.com>
54+
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
55+
Gaurav <gaurav70380@gmail.com>
56+
Gautam sharma <gautamkrishnasharma1@gmail.com>
3857
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
3958
Gunj Joshi <gunjjoshi8372@gmail.com>
4059
Gururaj Gurram <gururajgurram1512@gmail.com>
60+
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
61+
Harsh <149176984+hrshya@users.noreply.github.com>
4162
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
4263
Harshita Kalani <harshitakalani02@gmail.com>
64+
Hemant M Mehta <92446645+hemantmm@users.noreply.github.com>
4365
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
4466
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
67+
Jaison D Souza <123267719+jsndz@users.noreply.github.com>
68+
Jalaj Kumar <142599224+jalajk3004@users.noreply.github.com>
4569
James Gelok <jdgelok@gmail.com>
70+
Jay Soni <jaygsoni14@gmail.com>
4671
Jaysukh Makvana <jaysukhmakvana2004@gmail.com>
4772
Jenish Thapa <141203631+jenish-thapa@users.noreply.github.com>
4873
Jithin KS <jithinks112@gmail.com>
@@ -51,12 +76,19 @@ Joey Reed <joeyrreed@gmail.com>
5176
Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
5277
Joris Labie <joris.labie1@gmail.com>
5378
Justin Dennison <justin1dennison@gmail.com>
54-
Karan Anand <119553199+anandkaranubc@users.noreply.github.com>
79+
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
80+
Karan Anand <anandkarancompsci@gmail.com>
81+
Karan Yadav <77043443+karanBRAVO@users.noreply.github.com>
5582
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
83+
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
84+
Kavyansh-Bagdi <153486713+Kavyansh-Bagdi@users.noreply.github.com>
5685
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
86+
Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
5787
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
5888
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
5989
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
90+
MANI <77221000+Eternity0207@users.noreply.github.com>
91+
Mahfuza Humayra Mohona <mhmohona@gmail.com>
6092
Manik Sharma <maniksharma.rke@gmail.com>
6193
Manvith M <148960168+manvith2003@users.noreply.github.com>
6294
Marcus Fantham <mfantham@users.noreply.github.com>
@@ -67,40 +99,57 @@ Mohammad Bin Aftab <48010758+MohammadBinAftab@users.noreply.github.com>
6799
Mohammad Kaif <mdkaifprofession@gmail.com>
68100
Momtchil Momtchev <momtchil@momtchev.com>
69101
Muhammad Haris <harriskhan047@outlook.com>
102+
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
103+
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
70104
Naresh Jagadeesan <naresh.naresh000@gmail.com>
71105
Naveen Kumar <stupiddint@gmail.com>
72106
Neeraj Pathak <neerajrpathak710@gmail.com>
107+
NirvedMishra <139633597+NirvedMishra@users.noreply.github.com>
73108
Nishant Shinde <97207366+nishant-s7@users.noreply.github.com>
109+
Nishchay Rajput <121144841+NishchayRajput@users.noreply.github.com>
74110
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
75111
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
76112
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
77113
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
78114
Ori Miles <97595296+orimiles5@users.noreply.github.com>
79115
Philipp Burckhardt <pburckhardt@outlook.com>
116+
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
80117
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
81-
Pranav Goswami <goswami.4@iitj.ac.in>
118+
Pranav Goswami <pranavchiku11@gmail.com>
82119
Pranjal Jha <97080887+PraneGIT@users.noreply.github.com>
83120
Prashant Kumar Yadav <144602492+0PrashantYadav0@users.noreply.github.com>
121+
PrathamBhamare <164445568+PrathamBhamare@users.noreply.github.com>
84122
Pratik Singh <97464067+Pratik772846@users.noreply.github.com>
85123
Pratyush Kumar Chouhan <pratyushkumar0308@gmail.com>
124+
Pravesh Kunwar <praveshkunwar04@gmail.com>
86125
Priyansh Prajapati <88396544+itsspriyansh@users.noreply.github.com>
87126
Priyanshu Agarwal <113460573+AgPriyanshu18@users.noreply.github.com>
127+
Pulkit Gupta <65711278+pulkitgupta2@users.noreply.github.com>
88128
Pushpendra Chandravanshi <pushpendrachandravanshi4@gmail.com>
129+
Rahul Kumar <132570066+rahulptl165@users.noreply.github.com>
89130
Raunak Kumar Gupta <raunakmodanwal321@gmail.com>
90131
Rejoan Sardar <119718513+Rejoan-Sardar@users.noreply.github.com>
91132
Ricky Reusser <rsreusser@gmail.com>
92133
Ridam Garg <67867319+RidamGarg@users.noreply.github.com>
93134
Rishav <115060907+rishav2404@users.noreply.github.com>
135+
Rishav Tarway <rishavtarway@gmail.com>
94136
Robert Gislason <gztown2216@yahoo.com>
95137
Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
138+
Rupa <102663541+Rupa-Rd@users.noreply.github.com>
96139
Rutam Kathale <138517416+performant23@users.noreply.github.com>
97140
Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
98141
Ryan Seal <splrk@users.noreply.github.com>
99142
Rylan Yang <137365285+rylany27@users.noreply.github.com>
143+
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
144+
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
145+
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
146+
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
100147
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
148+
Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
101149
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
102150
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
103151
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
152+
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
104153
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
105154
Shivam Ahir <11shivam00@gmail.com>
106155
Shraddheya Shendre <shendreshraddheya@gmail.com>
@@ -111,7 +160,9 @@ Snehil Shah <snehilshah.989@gmail.com>
111160
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
112161
Spandan Barve <contact@marsian.dev>
113162
Stephannie Jiménez Gacha <steff456@hotmail.com>
163+
Suhaib Ilahi <suhaib.elahi87@gmail.com>
114164
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
165+
Tanishq Ahuja <68651083+TheGEN1U5@users.noreply.github.com>
115166
Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
116167
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
117168
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
@@ -125,8 +176,14 @@ Vivek Maurya <vm8118134@gmail.com>
125176
Xiaochuan Ye <tap91624@gmail.com>
126177
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
127178
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
179+
Yugal Kaushik <yugalkaushik14@gmail.com>
180+
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
181+
ditsu <170345142+ditsus@users.noreply.github.com>
128182
ekambains <bainsinbusiness@gmail.com>
183+
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
184+
lohithganni <116790357+lohithganni@users.noreply.github.com>
129185
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
130186
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
187+
rahulrangers <127782777+rahulrangers@users.noreply.github.com>
131188
rainn <88160429+AmCodesLame@users.noreply.github.com>
132189
rei2hu <reimu@reimu.ws>

benchmark/benchmark.js

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

2323
var bench = require( '@stdlib/bench-harness' );
24-
var randu = require( '@stdlib/random-base-randu' );
25-
var round = require( '@stdlib/math-base-special-round' );
24+
var discreteUniform = require( '@stdlib/random-array-discrete-uniform' );
2625
var isBoolean = require( '@stdlib/assert-is-boolean' ).isPrimitive;
2726
var pkg = require( './../package.json' ).name;
2827
var isSafeInteger = require( './../lib' );
@@ -31,14 +30,19 @@ var isSafeInteger = require( './../lib' );
3130
// MAIN //
3231

3332
bench( pkg, function benchmark( b ) {
33+
var opts;
3434
var x;
3535
var y;
3636
var i;
3737

38+
opts = {
39+
'dtype': 'float64'
40+
};
41+
x = discreteUniform( 100, -5.0e6, 5.0e6, opts );
42+
3843
b.tic();
3944
for ( i = 0; i < b.iterations; i++ ) {
40-
x = round( (randu()*1.0e7) - 5.0e6 );
41-
y = isSafeInteger( x );
45+
y = isSafeInteger( x[ i%x.length ] );
4246
if ( typeof y !== 'boolean' ) {
4347
b.fail( 'should return a boolean' );
4448
}

benchmark/benchmark.native.js

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

2323
var resolve = require( 'path' ).resolve;
2424
var bench = require( '@stdlib/bench-harness' );
25-
var randu = require( '@stdlib/random-base-randu' );
26-
var round = require( '@stdlib/math-base-special-round' );
25+
var discreteUniform = require( '@stdlib/random-array-discrete-uniform' );
2726
var isBoolean = require( '@stdlib/assert-is-boolean' ).isPrimitive;
2827
var tryRequire = require( '@stdlib/utils-try-require' );
2928
var pkg = require( './../package.json' ).name;
@@ -40,14 +39,19 @@ var opts = {
4039
// MAIN //
4140

4241
bench( pkg+'::native', opts, function benchmark( b ) {
42+
var opts;
4343
var x;
4444
var y;
4545
var i;
4646

47+
opts = {
48+
'dtype': 'float64'
49+
};
50+
x = discreteUniform( 100, -5.0e6, 5.0e6, opts );
51+
4752
b.tic();
4853
for ( i = 0; i < b.iterations; i++ ) {
49-
x = round( (randu()*1.0e7) - 5.0e6 );
50-
y = isSafeInteger( x );
54+
y = isSafeInteger( x[ i%x.length ] );
5155
if ( typeof y !== 'boolean' ) {
5256
b.fail( 'should return a boolean' );
5357
}

benchmark/c/native/benchmark.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,18 @@ static double rand_double( void ) {
9292
*/
9393
static double benchmark( void ) {
9494
double elapsed;
95-
double x;
95+
double x[ 100 ];
9696
double t;
9797
bool b;
9898
int i;
9999

100+
for ( i = 0; i < 100; i++ ) {
101+
x[ i ] = ( rand_double() * 1.0e7 ) - 5.0e6;
102+
}
103+
100104
t = tic();
101105
for ( i = 0; i < ITERATIONS; i++ ) {
102-
x = ( rand_double() * 1.0e7 ) - 5.0e6;
103-
b = stdlib_base_is_safe_integer( x );
106+
b = stdlib_base_is_safe_integer( x[ i%100 ] );
104107
if ( b != true && b != false ) {
105108
printf( "should return either true or false\n" );
106109
break;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"@stdlib/boolean-ctor": "^0.2.2",
5151
"@stdlib/constants-float64-ninf": "^0.2.2",
5252
"@stdlib/constants-float64-pinf": "^0.2.2",
53-
"@stdlib/math-base-special-round": "^0.3.0",
5453
"@stdlib/math-base-special-trunc": "^0.2.2",
54+
"@stdlib/random-array-discrete-uniform": "^0.2.1",
5555
"@stdlib/random-base-randu": "^0.2.1",
5656
"@stdlib/utils-try-require": "^0.2.2",
5757
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",

test/test.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ tape( 'main export is a function', function test( t ) {
4141
tape( 'the function returns `true` if provided a safe integer', function test( t ) {
4242
var i;
4343
for ( i = -50; i < 51; i++ ) {
44-
t.equal( isSafeInteger( i ), true, 'returns true when provided '+i );
44+
t.equal( isSafeInteger( i ), true, 'returns expected value when provided '+i );
4545
}
4646
t.end();
4747
});
@@ -51,7 +51,7 @@ tape( 'the function returns `false` if provided an integer greater than the max
5151
var i;
5252
for ( i = 1; i < 100; i++ ) {
5353
x = MAX_SAFE_INTEGER + 1 + i;
54-
t.equal( isSafeInteger( x ), false, 'returns false when provided '+x );
54+
t.equal( isSafeInteger( x ), false, 'returns expected value when provided '+x );
5555
}
5656
t.end();
5757
});
@@ -61,7 +61,7 @@ tape( 'the function returns `false` if provided an integer less than the min saf
6161
var i;
6262
for ( i = 0; i < 100; i++ ) {
6363
x = MIN_SAFE_INTEGER - 1 - i;
64-
t.equal( isSafeInteger( x ), false, 'returns false when provided '+x );
64+
t.equal( isSafeInteger( x ), false, 'returns expected value when provided '+x );
6565
}
6666
t.end();
6767
});
@@ -72,33 +72,33 @@ tape( 'the function returns `false` if not provided an integer', function test(
7272
for ( i = 0; i < 100; i++ ) {
7373
v = (randu()*100.0) - 50.0;
7474
if ( trunc(v) !== v ) {
75-
t.equal( isSafeInteger( v ), false, 'returns false when provided '+v );
75+
t.equal( isSafeInteger( v ), false, 'returns expected value when provided '+v );
7676
}
7777
}
7878
t.end();
7979
});
8080

8181
tape( 'the function returns `true` if provided maximum safe integer', function test( t ) {
82-
t.equal( isSafeInteger( MAX_SAFE_INTEGER ), true, 'returns true' );
82+
t.equal( isSafeInteger( MAX_SAFE_INTEGER ), true, 'returns expected value' );
8383
t.end();
8484
});
8585

8686
tape( 'the function returns `true` if provided minimum safe integer', function test( t ) {
87-
t.equal( isSafeInteger( MIN_SAFE_INTEGER ), true, 'returns true' );
87+
t.equal( isSafeInteger( MIN_SAFE_INTEGER ), true, 'returns expected value' );
8888
t.end();
8989
});
9090

9191
tape( 'the function returns `false` if provided `NaN`', function test( t ) {
92-
t.equal( isSafeInteger( NaN ), false, 'returns false' );
92+
t.equal( isSafeInteger( NaN ), false, 'returns expected value' );
9393
t.end();
9494
});
9595

9696
tape( 'the function returns `false` if provided `+infinity`', function test( t ) {
97-
t.equal( isSafeInteger( PINF ), false, 'returns false' );
97+
t.equal( isSafeInteger( PINF ), false, 'returns expected value' );
9898
t.end();
9999
});
100100

101101
tape( 'the function returns `false` if provided `-infinity`', function test( t ) {
102-
t.equal( isSafeInteger( NINF ), false, 'returns false' );
102+
t.equal( isSafeInteger( NINF ), false, 'returns expected value' );
103103
t.end();
104104
});

0 commit comments

Comments
 (0)