Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tape( 'the `main` method adds a constant and calculates the sum of all strided a

x = new Float64Array( [ 1.0, 1e100, 1.0, -1.0e100 ] );
v = dapxsum.main( x.length, 5.0, x, 1 );
t.strictEqual( v, 12.0, 'returns expected value' );
t.strictEqual( v, 22.0, 'returns expected value' );

t.end();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tape( 'the `ndarray` method adds a constant and calculates the sum of all stride

x = new Float64Array( [ 1.0, 1.0e100, 1.0, -1.0e100 ] );
v = dapxsum.ndarray( x.length, 5.0, x, 1, 0 );
t.strictEqual( v, 12.0, 'returns expected value' );
t.strictEqual( v, 22.0, 'returns expected value' );

t.end();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tape( 'the `main` method adds a constant and calculates the sum of all strided a

x = new Float64Array( [ 1.0, 1e100, 1.0, -1.0e100 ] );
v = dapxsumkbn.main( x.length, 5.0, x, 1 );
t.strictEqual( v, 12.0, 'returns expected value' );
t.strictEqual( v, 22.0, 'returns expected value' );

t.end();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tape( 'the `ndarray` method adds a constant and calculates the sum of all stride

x = new Float64Array( [ 1.0, 1.0e100, 1.0, -1.0e100 ] );
v = dapxsumkbn.ndarray( x.length, 5.0, x, 1, 0 );
t.strictEqual( v, 12.0, 'returns expected value' );
t.strictEqual( v, 22.0, 'returns expected value' );

t.end();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tape( 'the `main` method adds a constant and calculates the sum of all strided a

x = new Float64Array( [ 1.0, 1e100, 1.0, -1.0e100 ] );
v = dapxsumors.main( x.length, 5.0, x, 1 );
t.strictEqual( v, 0.0, 'returns expected value' );
t.strictEqual( v, 20.0, 'returns expected value' );

t.end();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tape( 'the `ndarray` method adds a constant and calculates the sum of all stride

x = new Float64Array( [ 1.0, 1.0e100, 1.0, -1.0e100 ] );
v = dapxsumors.ndarray( x.length, 5.0, x, 1, 0 );
t.strictEqual( v, 0.0, 'returns expected value' );
t.strictEqual( v, 20.0, 'returns expected value' );

t.end();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tape( 'the `main` method adds a constant and calculates the sum of all strided a

x = new Float64Array( [ 1.0, 1e100, 1.0, -1.0e100 ] );
v = dapxsumpw.main( x.length, 5.0, x, 1 );
t.strictEqual( v, 0.0, 'returns expected value' );
t.strictEqual( v, 20.0, 'returns expected value' );

t.end();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tape( 'the `ndarray` method adds a constant and calculates the sum of all stride

x = new Float64Array( [ 1.0, 1.0e100, 1.0, -1.0e100 ] );
v = dapxsumpw.ndarray( x.length, 5.0, x, 1, 0 );
t.strictEqual( v, 0.0, 'returns expected value' );
t.strictEqual( v, 20.0, 'returns expected value' );

t.end();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tape( 'the `main` method adds a constant and calculates the sum of all strided a

x = new Float32Array( [ 1.0, 1e10, 1.0, -1.0e10 ] );
v = sapxsumkbn.main( x.length, 5.0, x, 1 );
t.strictEqual( v, 12.0, 'returns expected value' );
t.strictEqual( v, 22.0, 'returns expected value' );

t.end();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tape( 'the `ndarray` method adds a constant and calculates the sum of all stride

x = new Float32Array( [ 1.0, 1.0e10, 1.0, -1.0e10 ] );
v = sapxsumkbn.ndarray( x.length, 5.0, x, 1, 0 );
t.strictEqual( v, 12.0, 'returns expected value' );
t.strictEqual( v, 22.0, 'returns expected value' );

t.end();
});
Expand Down
Loading