Skip to content

Commit 719929a

Browse files
committed
Auto-generated commit
1 parent a2905c7 commit 719929a

File tree

7 files changed

+16
-6
lines changed

7 files changed

+16
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134

135135
### Bug Fixes
136136

137+
- [`fc42d47`](https://github.com/stdlib-js/stdlib/commit/fc42d478aac742422f2a8073e168ecaa94c6ac35) - use a generic
137138
- [`2a0ea7f`](https://github.com/stdlib-js/stdlib/commit/2a0ea7feb22806685fef9eac8a32d7012dab7adc) - use correct package names in package.json
138139
- [`59fda0c`](https://github.com/stdlib-js/stdlib/commit/59fda0ce064e449e51484a9724ca38abf1020762) - update include path
139140
- [`c05f9db`](https://github.com/stdlib-js/stdlib/commit/c05f9db53534dc0b8ea6430dd861a3efe40b7254) - update supported dtypes
@@ -543,6 +544,9 @@ A total of 59 issues were closed in this release:
543544

544545
<details>
545546

547+
- [`72d2b0d`](https://github.com/stdlib-js/stdlib/commit/72d2b0d6c62a55f377bc25ed6ed1994465e42559) - **chore:** fix C lint errors [(#7716)](https://github.com/stdlib-js/stdlib/pull/7716) _(by GeoDaoyu)_
548+
- [`b093975`](https://github.com/stdlib-js/stdlib/commit/b09397522cc67d6d7baed08649b0f9fa52b96550) - **docs:** fix types and remove empty line _(by Athan Reines)_
549+
- [`fc42d47`](https://github.com/stdlib-js/stdlib/commit/fc42d478aac742422f2a8073e168ecaa94c6ac35) - **fix:** use a generic _(by Athan Reines)_
546550
- [`083a2c7`](https://github.com/stdlib-js/stdlib/commit/083a2c747659bb31bb7e6b6d715a7f2053d0057f) - **docs:** update examples _(by Athan Reines)_
547551
- [`d9bfa8a`](https://github.com/stdlib-js/stdlib/commit/d9bfa8a430500c9b13a2e8266c826dee40dab203) - **docs:** fix comment _(by Athan Reines)_
548552
- [`9084ea7`](https://github.com/stdlib-js/stdlib/commit/9084ea7fd0e8f5dadec684f2b80bc796b8814cb7) - **docs:** fix comment _(by Athan Reines)_
@@ -1312,7 +1316,7 @@ A total of 59 issues were closed in this release:
13121316

13131317
### Contributors
13141318

1315-
A total of 42 people contributed to this release. Thank you to the following contributors:
1319+
A total of 43 people contributed to this release. Thank you to the following contributors:
13161320

13171321
- Aayush Khanna
13181322
- Anmol Sah
@@ -1324,6 +1328,7 @@ A total of 42 people contributed to this release. Thank you to the following con
13241328
- Dipjyoti Das
13251329
- GK Bishnoi
13261330
- Gautam sharma
1331+
- GeoDaoyu
13271332
- Girish Garg
13281333
- Gunj Joshi
13291334
- Gururaj Gurram

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ Sai Avinash <[email protected]>
167167
Sai Srikar Dumpeti <[email protected]>
168168
Sanchay Ketan Sinha <[email protected]>
169169
Sarthak Paandey <[email protected]>
170+
Satyajeet Chavan <[email protected]>
170171
Saurabh Singh <[email protected]>
171172
Seyyed Parsa Neshaei <[email protected]>
172173
Shabareesh Shetty <[email protected]>

base/special/kernel-sincos/docs/types/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
// TypeScript Version: 4.1
2020

21+
/// <reference types="@stdlib/types"/>
22+
23+
import { NumericArray } from '@stdlib/types/array';
24+
2125
/**
2226
* Simultaneously computes the sine and cosine of an angle measured in radians within the interval `[-π/4, π/4]` and stores the results in a provided output array.
2327
*
@@ -44,7 +48,7 @@
4448
* var v = kernelSincos( NaN, 0.0, [ 0.0, 0.0 ], 1, 0 );
4549
* // returns [ NaN, NaN ]
4650
*/
47-
declare function kernelSincos( x: number, y: number, out: Array<number>, stride: number, offset: number ): Array<number>;
51+
declare function kernelSincos<T extends NumericArray>( x: number, y: number, out: T, stride: number, offset: number ): T;
4852

4953

5054
// EXPORTS //

base/special/kernel-sincos/examples/c/example.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
2019
#include "stdlib/math/base/special/kernel_sincos.h"
2120
#include <stdio.h>
2221

base/special/kernel-sincos/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ var S1 = -1.66666666666666324348e-01; // 0xBFC55555, 0x55555549
5252
*
5353
* @param {number} x - input value (in radians, assumed to be bounded by `~π/4` in magnitude)
5454
* @param {number} y - tail of `x`
55-
* @param {Array<number>} out - output array
55+
* @param {Collection} out - output array
5656
* @param {integer} stride - output array stride
5757
* @param {NonNegativeInteger} offset - output array index offset
58-
* @returns {Array<number>} sine and cosine
58+
* @returns {Collection} sine and cosine
5959
*
6060
* @example
6161
* var v = kernelSincos( 0.0, 0.0, [ 0.0, 0.0 ], 1, 0 );

base/special/kernel-sincos/lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var addon = require( './../src/addon.node' );
3232
* @private
3333
* @param {number} x - input value (in radians, assumed to be bounded by `~π/4` in magnitude)
3434
* @param {number} y - tail of `x`
35-
* @returns {Array<number>} sine and cosine
35+
* @returns {Float64Array} sine and cosine
3636
*
3737
* @example
3838
* var v = kernelSincos( 0.0, 0.0 );

strided/special/dtrunc/benchmark/c/benchmark.length.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ static double benchmark( int iterations, int len ) {
125125
}
126126
t = tic();
127127
for ( i = 0; i < iterations; i++ ) {
128+
// cppcheck-suppress uninitvar
128129
stdlib_strided_dtrunc( len, x, 1, y, 1 );
129130
if ( y[ 0 ] != y[ 0 ] ) {
130131
printf( "should not return NaN\n" );

0 commit comments

Comments
 (0)