Skip to content

Commit 09bcd1e

Browse files
authored
test: fix handling of negative zero
PR-URL: #10649 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent b0950ed commit 09bcd1e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/strided/dcumin/test/test.dcumin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ tape( 'the function computes the cumulative minimum', function test( t ) {
6666
expected = new Float64Array([
6767
0.0,
6868
-0.0,
69-
0.0
69+
-0.0
7070
]);
7171
for ( i = 0; i < y.length; i++ ) {
7272
if ( isNegativeZero( expected[ i ] ) ) {

lib/node_modules/@stdlib/stats/strided/dcumin/test/test.dcumin.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ tape( 'the function computes the cumulative minimum', opts, function test( t ) {
7575
expected = new Float64Array([
7676
0.0,
7777
-0.0,
78-
0.0
78+
-0.0
7979
]);
8080
for ( i = 0; i < y.length; i++ ) {
8181
if ( isNegativeZero( expected[ i ] ) ) {

lib/node_modules/@stdlib/stats/strided/dcumin/test/test.ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ tape( 'the function calculates the cumulative minimum', function test( t ) {
6666
expected = new Float64Array([
6767
0.0,
6868
-0.0,
69-
0.0
69+
-0.0
7070
]);
7171
for ( i = 0; i < y.length; i++ ) {
7272
if ( isNegativeZero( expected[ i ] ) ) {

lib/node_modules/@stdlib/stats/strided/dcumin/test/test.ndarray.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ tape( 'the function calculates the cumulative minimum', opts, function test( t )
7575
expected = new Float64Array([
7676
0.0,
7777
-0.0,
78-
0.0
78+
-0.0
7979
]);
8080
for ( i = 0; i < y.length; i++ ) {
8181
if ( isNegativeZero( expected[ i ] ) ) {

0 commit comments

Comments
 (0)