Skip to content

Commit ce3e4b1

Browse files
Merge branch 'develop' of github.com:stdlib-js/stdlib into fixed-endian-to-local-string
2 parents 42e586e + ccef32f commit ce3e4b1

File tree

14 files changed

+74
-54
lines changed

14 files changed

+74
-54
lines changed

.github/workflows/lint_autofix.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ on:
3434
# Define the secrets accessible by the workflow:
3535
secrets:
3636
STDLIB_BOT_GITHUB_TOKEN:
37-
description: 'GitHub token for stdlb-bot'
37+
description: 'GitHub token for stdlib-bot'
3838
required: true
3939
REPO_GITHUB_TOKEN:
4040
description: 'GitHub token for accessing the repository'
4141
required: true
4242
STDLIB_BOT_GPG_PRIVATE_KEY:
43-
description: 'GPG private key for stdlb-bot'
43+
description: 'GPG private key for stdlib-bot'
4444
required: true
4545
STDLIB_BOT_GPG_PASSPHRASE:
46-
description: 'GPG passphrase for stdlb-bot'
46+
description: 'GPG passphrase for stdlib-bot'
4747
required: true
4848

4949
# Workflow jobs:
@@ -175,12 +175,12 @@ jobs:
175175
- name: 'Commit and push changes'
176176
env:
177177
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
178-
USER_NAME: stdlb-bot
178+
USER_NAME: stdlib-bot
179179
BRANCH_NAME: ${{ steps.pr-details.outputs.branch }}
180180
REPO_NAME: ${{ steps.pr-details.outputs.repository }}
181181
run: |
182182
git config --local user.email "[email protected]"
183-
git config --local user.name "stdlib-bot"
183+
git config --local user.name "$USER_NAME"
184184
git add .
185185
git commit -m "fix: resolve lint errors"
186186
git push "https://$USER_NAME:[email protected]/$REPO_NAME.git" $BRANCH_NAME

.github/workflows/pr_merge_develop.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ on:
3434
# Define the secrets accessible by the workflow:
3535
secrets:
3636
STDLIB_BOT_GITHUB_TOKEN:
37-
description: 'GitHub token for stdlb-bot'
37+
description: 'GitHub token for stdlib-bot'
3838
required: true
3939
REPO_GITHUB_TOKEN:
4040
description: 'GitHub token for accessing the repository'
4141
required: true
4242
STDLIB_BOT_GPG_PRIVATE_KEY:
43-
description: 'GPG private key for stdlb-bot'
43+
description: 'GPG private key for stdlib-bot'
4444
required: true
4545
STDLIB_BOT_GPG_PASSPHRASE:
46-
description: 'GPG passphrase for stdlb-bot'
46+
description: 'GPG passphrase for stdlib-bot'
4747
required: true
4848

4949
# Workflow jobs:
@@ -104,13 +104,13 @@ jobs:
104104
- name: 'Merge develop branch'
105105
env:
106106
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
107-
USER_NAME: stdlb-bot
107+
USER_NAME: stdlib-bot
108108
BRANCH_NAME: ${{ steps.pr-details.outputs.branch }}
109109
REPO_NAME: ${{ steps.pr-details.outputs.repository }}
110110
run: |
111111
# Configure Git user:
112112
git config --local user.email "[email protected]"
113-
git config --local user.name "stdlib-bot"
113+
git config --local user.name "$USER_NAME"
114114
115115
# Add upstream remote pointing to the original repository:
116116
git remote add upstream https://github.com/stdlib-js/stdlib.git

.github/workflows/pr_rebase_develop.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ on:
3434
# Define the secrets accessible by the workflow:
3535
secrets:
3636
STDLIB_BOT_GITHUB_TOKEN:
37-
description: 'GitHub token for stdlb-bot'
37+
description: 'GitHub token for stdlib-bot'
3838
required: true
3939
REPO_GITHUB_TOKEN:
4040
description: 'GitHub token for accessing the repository'
4141
required: true
4242
STDLIB_BOT_GPG_PRIVATE_KEY:
43-
description: 'GPG private key for stdlb-bot'
43+
description: 'GPG private key for stdlib-bot'
4444
required: true
4545
STDLIB_BOT_GPG_PASSPHRASE:
46-
description: 'GPG passphrase for stdlb-bot'
46+
description: 'GPG passphrase for stdlib-bot'
4747
required: true
4848

4949
# Workflow jobs:
@@ -104,13 +104,13 @@ jobs:
104104
- name: 'Rebase on develop branch'
105105
env:
106106
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
107-
USER_NAME: stdlb-bot
107+
USER_NAME: stdlib-bot
108108
BRANCH_NAME: ${{ steps.pr-details.outputs.branch }}
109109
REPO_NAME: ${{ steps.pr-details.outputs.repository }}
110110
run: |
111111
# Configure Git user:
112112
git config --local user.email "[email protected]"
113-
git config --local user.name "stdlib-bot"
113+
git config --local user.name "$USER_NAME"
114114
115115
# Add upstream remote pointing to the original repository:
116116
git remote add upstream https://github.com/stdlib-js/stdlib.git

.github/workflows/update_pr_copyright_years.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ on:
3434
# Define the secrets accessible by the workflow:
3535
secrets:
3636
STDLIB_BOT_GITHUB_TOKEN:
37-
description: 'GitHub token for stdlb-bot'
37+
description: 'GitHub token for stdlib-bot'
3838
required: true
3939
REPO_GITHUB_TOKEN:
4040
description: 'GitHub token for accessing the repository'
4141
required: true
4242
STDLIB_BOT_GPG_PRIVATE_KEY:
43-
description: 'GPG private key for stdlb-bot'
43+
description: 'GPG private key for stdlib-bot'
4444
required: true
4545
STDLIB_BOT_GPG_PASSPHRASE:
46-
description: 'GPG passphrase for stdlb-bot'
46+
description: 'GPG passphrase for stdlib-bot'
4747
required: true
4848

4949
# Workflow jobs:
@@ -142,12 +142,12 @@ jobs:
142142
- name: 'Commit and push changes'
143143
env:
144144
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
145-
USER_NAME: stdlb-bot
145+
USER_NAME: stdlib-bot
146146
BRANCH_NAME: ${{ steps.pr-details.outputs.branch }}
147147
REPO_NAME: ${{ steps.pr-details.outputs.repository }}
148148
run: |
149149
git config --local user.email "[email protected]"
150-
git config --local user.name "stdlib-bot"
150+
git config --local user.name "$USER_NAME"
151151
git add .
152152
git commit -m "chore: update copyright years"
153153
git push "https://$USER_NAME:[email protected]/$REPO_NAME.git" $BRANCH_NAME

lib/node_modules/@stdlib/blas/ext/base/dnansumors/test/test.dnansumors.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,18 @@ tape( 'if provided a `stride` parameter equal to `0`, the function returns the s
162162
t.end();
163163
});
164164

165+
tape( 'if provided a `stride` parameter equal to `0` and the first element is NaN, the function returns `0`', function test( t ) {
166+
var x;
167+
var v;
168+
169+
x = new Float64Array( [ NaN, -2.0, -4.0, 5.0, 3.0 ] );
170+
171+
v = dnansumors( x.length, x, 0 );
172+
t.strictEqual( v, 0.0, 'returns expected value' );
173+
174+
t.end();
175+
});
176+
165177
tape( 'the function supports view offsets', function test( t ) {
166178
var x0;
167179
var x1;

lib/node_modules/@stdlib/blas/ext/base/dnansumors/test/test.dnansumors.native.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,18 @@ tape( 'if provided a `stride` parameter equal to `0`, the function returns the s
253253
t.end();
254254
});
255255

256+
tape( 'if provided a `stride` parameter equal to `0` and the first element is NaN, the function returns `0`', opts, function test( t ) {
257+
var x;
258+
var v;
259+
260+
x = new Float64Array( [ NaN, -2.0, -4.0, 5.0, 3.0 ] );
261+
262+
v = dnansumors( x.length, x, 0 );
263+
t.strictEqual( v, 0.0, 'returns expected value' );
264+
265+
t.end();
266+
});
267+
256268
tape( 'the function supports view offsets', opts, function test( t ) {
257269
var x0;
258270
var x1;

lib/node_modules/@stdlib/blas/ext/base/dnansumors/test/test.ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ tape( 'if provided a `stride` parameter equal to `0`, the function returns the s
166166
t.end();
167167
});
168168

169-
tape( 'if provided a `stride` and `offset` parameter equal to `0` and the first element is NaN, the function returns `0`', function test( t ) {
169+
tape( 'if provided a `stride` parameter equal to `0` and the first element is NaN, the function returns `0`', function test( t ) {
170170
var x;
171171
var v;
172172

lib/node_modules/@stdlib/blas/ext/base/dnansumors/test/test.ndarray.native.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,18 @@ tape( 'if provided a `stride` parameter equal to `0`, the function returns the s
171171
t.end();
172172
});
173173

174+
tape( 'if provided a `stride` parameter equal to `0` and the first element is NaN, the function returns `0`', opts, function test( t ) {
175+
var x;
176+
var v;
177+
178+
x = new Float64Array( [ NaN, -2.0, -4.0, 5.0, 3.0 ] );
179+
180+
v = dnansumors( x.length, x, 0, 0 );
181+
t.strictEqual( v, 0.0, 'returns expected value' );
182+
183+
t.end();
184+
});
185+
174186
tape( 'the function supports an `offset` parameter', opts, function test( t ) {
175187
var x;
176188
var v;

lib/node_modules/@stdlib/constants/float32/min-base10-exponent/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ Macro for the minimum base 10 exponent for a normal [single-precision floating-p
126126

127127
<section class="related">
128128

129-
* * *
130-
131129
</section>
132130

133131
<!-- /.related -->

lib/node_modules/@stdlib/constants/float32/min-base10-exponent/docs/repl.txt

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

22
{{alias}}
3-
The minimum base 10 exponent for a normalized single-precision floating-
3+
The minimum base 10 exponent for a normal single-precision floating-
44
point number.
55

66
Examples

0 commit comments

Comments
 (0)