Skip to content

Commit 29239fe

Browse files
committed
Auto-generated commit
1 parent df4b3f9 commit 29239fe

4 files changed

Lines changed: 20 additions & 19 deletions

File tree

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 (2026-03-23)
7+
## Unreleased (2026-03-24)
88

99
<section class="features">
1010

@@ -725,6 +725,7 @@ A total of 90 issues were closed in this release:
725725

726726
<details>
727727

728+
- [`90b1d08`](https://github.com/stdlib-js/stdlib/commit/90b1d08d97ae2d4db68836796d38f486d62d6610) - **chore:** minor clean-up _(by Philipp Burckhardt)_
728729
- [`e196c42`](https://github.com/stdlib-js/stdlib/commit/e196c42d4f901702ffda4f5159b2ecd9141f8384) - **feat:** add `CCCC_C` macro in `math/base/napi/quaternary` [(#11105)](https://github.com/stdlib-js/stdlib/pull/11105) _(by Neeraj Pathak)_
729730
- [`1790fd8`](https://github.com/stdlib-js/stdlib/commit/1790fd8540adf9a62bdd63361c7cdcc8ad540c36) - **bench:** refactor to use string interpolation in `math/base/special/beta` [(#11090)](https://github.com/stdlib-js/stdlib/pull/11090) _(by Partha Das)_
730731
- [`71468a6`](https://github.com/stdlib-js/stdlib/commit/71468a6d49a3c0c2ec6173033eacda61bc75ff01) - **feat:** add `ZZZZ_Z` macro in `math/base/napi/quaternary` [(#9944)](https://github.com/stdlib-js/stdlib/pull/9944) _(by Neeraj Pathak, Athan Reines)_

base/napi/quaternary/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,9 @@ static stdlib_complex128_t add( const stdlib_complex128_t w, const stdlib_comple
409409
double re;
410410
double im;
411411

412-
stdlib_complex128_reim( w, &xre, &wim );
413-
stdlib_complex128_reim( x, &yre, &xim );
414-
stdlib_complex128_reim( y, &zre, &yim );
412+
stdlib_complex128_reim( w, &wre, &wim );
413+
stdlib_complex128_reim( x, &xre, &xim );
414+
stdlib_complex128_reim( y, &yre, &yim );
415415
stdlib_complex128_reim( z, &zre, &zim );
416416

417417
re = wre + xre + yre + zre;

base/napi/quaternary/src/cccc_c.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ napi_value stdlib_math_base_napi_cccc_c( napi_env env, napi_callback_info info,
112112
status = napi_typeof( env, xre, &xretype );
113113
assert( status == napi_ok );
114114
if ( xretype != napi_number ) {
115-
status = napi_throw_type_error( env, NULL, "invalid argument. First argument must have a real component which is a number." );
115+
status = napi_throw_type_error( env, NULL, "invalid argument. Second argument must have a real component which is a number." );
116116
assert( status == napi_ok );
117117
return NULL;
118118
}
119119

120120
status = napi_has_named_property( env, argv[ 1 ], "im", &hprop );
121121
assert( status == napi_ok );
122122
if ( !hprop ) {
123-
status = napi_throw_type_error( env, NULL, "invalid argument. First argument must have an imaginary component." );
123+
status = napi_throw_type_error( env, NULL, "invalid argument. Second argument must have an imaginary component." );
124124
assert( status == napi_ok );
125125
return NULL;
126126
}
@@ -133,15 +133,15 @@ napi_value stdlib_math_base_napi_cccc_c( napi_env env, napi_callback_info info,
133133
status = napi_typeof( env, xim, &ximtype );
134134
assert( status == napi_ok );
135135
if ( ximtype != napi_number ) {
136-
status = napi_throw_type_error( env, NULL, "invalid argument. First argument must have an imaginary component which a number." );
136+
status = napi_throw_type_error( env, NULL, "invalid argument. Second argument must have an imaginary component which is a number." );
137137
assert( status == napi_ok );
138138
return NULL;
139139
}
140140

141141
status = napi_has_named_property( env, argv[ 2 ], "re", &hprop );
142142
assert( status == napi_ok );
143143
if ( !hprop ) {
144-
status = napi_throw_type_error( env, NULL, "invalid argument. Second argument must have a real component." );
144+
status = napi_throw_type_error( env, NULL, "invalid argument. Third argument must have a real component." );
145145
assert( status == napi_ok );
146146
return NULL;
147147
}
@@ -154,15 +154,15 @@ napi_value stdlib_math_base_napi_cccc_c( napi_env env, napi_callback_info info,
154154
status = napi_typeof( env, yre, &yretype );
155155
assert( status == napi_ok );
156156
if ( yretype != napi_number ) {
157-
status = napi_throw_type_error( env, NULL, "invalid argument. Second argument must have a real component which is a number." );
157+
status = napi_throw_type_error( env, NULL, "invalid argument. Third argument must have a real component which is a number." );
158158
assert( status == napi_ok );
159159
return NULL;
160160
}
161161

162162
status = napi_has_named_property( env, argv[ 2 ], "im", &hprop );
163163
assert( status == napi_ok );
164164
if ( !hprop ) {
165-
status = napi_throw_type_error( env, NULL, "invalid argument. Second argument must have an imaginary component." );
165+
status = napi_throw_type_error( env, NULL, "invalid argument. Third argument must have an imaginary component." );
166166
assert( status == napi_ok );
167167
return NULL;
168168
}
@@ -175,15 +175,15 @@ napi_value stdlib_math_base_napi_cccc_c( napi_env env, napi_callback_info info,
175175
status = napi_typeof( env, yim, &yimtype );
176176
assert( status == napi_ok );
177177
if ( yimtype != napi_number ) {
178-
status = napi_throw_type_error( env, NULL, "invalid argument. Second argument must have an imaginary component which a number." );
178+
status = napi_throw_type_error( env, NULL, "invalid argument. Third argument must have an imaginary component which is a number." );
179179
assert( status == napi_ok );
180180
return NULL;
181181
}
182182

183183
status = napi_has_named_property( env, argv[ 3 ], "re", &hprop );
184184
assert( status == napi_ok );
185185
if ( !hprop ) {
186-
status = napi_throw_type_error( env, NULL, "invalid argument. Third argument must have a real component." );
186+
status = napi_throw_type_error( env, NULL, "invalid argument. Fourth argument must have a real component." );
187187
assert( status == napi_ok );
188188
return NULL;
189189
}
@@ -196,15 +196,15 @@ napi_value stdlib_math_base_napi_cccc_c( napi_env env, napi_callback_info info,
196196
status = napi_typeof( env, zre, &zretype );
197197
assert( status == napi_ok );
198198
if ( zretype != napi_number ) {
199-
status = napi_throw_type_error( env, NULL, "invalid argument. Third argument must have a real component which is a number." );
199+
status = napi_throw_type_error( env, NULL, "invalid argument. Fourth argument must have a real component which is a number." );
200200
assert( status == napi_ok );
201201
return NULL;
202202
}
203203

204204
status = napi_has_named_property( env, argv[ 3 ], "im", &hprop );
205205
assert( status == napi_ok );
206206
if ( !hprop ) {
207-
status = napi_throw_type_error( env, NULL, "invalid argument. Third argument must have an imaginary component." );
207+
status = napi_throw_type_error( env, NULL, "invalid argument. Fourth argument must have an imaginary component." );
208208
assert( status == napi_ok );
209209
return NULL;
210210
}
@@ -217,7 +217,7 @@ napi_value stdlib_math_base_napi_cccc_c( napi_env env, napi_callback_info info,
217217
status = napi_typeof( env, zim, &zimtype );
218218
assert( status == napi_ok );
219219
if ( zimtype != napi_number ) {
220-
status = napi_throw_type_error( env, NULL, "invalid argument. Third argument must have an imaginary component which a number." );
220+
status = napi_throw_type_error( env, NULL, "invalid argument. Fourth argument must have an imaginary component which is a number." );
221221
assert( status == napi_ok );
222222
return NULL;
223223
}

base/napi/quaternary/src/zzzz_z.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ napi_value stdlib_math_base_napi_zzzz_z( napi_env env, napi_callback_info info,
9191
status = napi_typeof( env, wim, &wimtype );
9292
assert( status == napi_ok );
9393
if ( wimtype != napi_number ) {
94-
status = napi_throw_type_error( env, NULL, "invalid argument. First argument must have an imaginary component which a number." );
94+
status = napi_throw_type_error( env, NULL, "invalid argument. First argument must have an imaginary component which is a number." );
9595
assert( status == napi_ok );
9696
return NULL;
9797
}
@@ -133,7 +133,7 @@ napi_value stdlib_math_base_napi_zzzz_z( napi_env env, napi_callback_info info,
133133
status = napi_typeof( env, xim, &ximtype );
134134
assert( status == napi_ok );
135135
if ( ximtype != napi_number ) {
136-
status = napi_throw_type_error( env, NULL, "invalid argument. Second argument must have an imaginary component which a number." );
136+
status = napi_throw_type_error( env, NULL, "invalid argument. Second argument must have an imaginary component which is a number." );
137137
assert( status == napi_ok );
138138
return NULL;
139139
}
@@ -175,7 +175,7 @@ napi_value stdlib_math_base_napi_zzzz_z( napi_env env, napi_callback_info info,
175175
status = napi_typeof( env, yim, &yimtype );
176176
assert( status == napi_ok );
177177
if ( yimtype != napi_number ) {
178-
status = napi_throw_type_error( env, NULL, "invalid argument. Third argument must have an imaginary component which a number." );
178+
status = napi_throw_type_error( env, NULL, "invalid argument. Third argument must have an imaginary component which is a number." );
179179
assert( status == napi_ok );
180180
return NULL;
181181
}
@@ -217,7 +217,7 @@ napi_value stdlib_math_base_napi_zzzz_z( napi_env env, napi_callback_info info,
217217
status = napi_typeof( env, zim, &zimtype );
218218
assert( status == napi_ok );
219219
if ( zimtype != napi_number ) {
220-
status = napi_throw_type_error( env, NULL, "invalid argument. Fourth argument must have an imaginary component which a number." );
220+
status = napi_throw_type_error( env, NULL, "invalid argument. Fourth argument must have an imaginary component which is a number." );
221221
assert( status == napi_ok );
222222
return NULL;
223223
}

0 commit comments

Comments
 (0)