Skip to content

Commit b9a8a31

Browse files
committed
Auto-generated commit
1 parent 43c78a4 commit b9a8a31

File tree

10 files changed

+48
-10
lines changed

10 files changed

+48
-10
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,25 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-05-19)
7+
## Unreleased (2025-06-28)
8+
9+
<section class="features">
10+
11+
### Features
12+
13+
- [`6540f29`](https://github.com/stdlib-js/stdlib/commit/6540f29cc83ec1fb172986f87e14730b5973e94f) - add support for 16-bit data types
14+
15+
</section>
16+
17+
<!-- /.features -->
818

919
<section class="commits">
1020

1121
### Commits
1222

1323
<details>
1424

25+
- [`6540f29`](https://github.com/stdlib-js/stdlib/commit/6540f29cc83ec1fb172986f87e14730b5973e94f) - **feat:** add support for 16-bit data types _(by Athan Reines)_
1526
- [`2777e4b`](https://github.com/stdlib-js/stdlib/commit/2777e4be161869d09406e3b17947d24c64b47af2) - **bench:** resolve lint errors in benchmarks _(by Athan Reines)_
1627

1728
</details>

CONTRIBUTORS

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ Ali Salesi <ali_sal1381@yahoo.com>
2121
AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
2222
Aman Bhansali <bhansali.1@iitj.ac.in>
2323
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
24+
Amisha Chhajed <136238836+amishhaa@users.noreply.github.com>
2425
Amit Jimiwal <amitjimiwal45@gmail.com>
26+
Annamalai Prabu <apfossdev@gmail.com>
2527
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
2628
Anshu Kumar <contact.anshukumar@protonmail.com>
2729
Anudeep Sanapala <anudeep0306@gmail.com>
30+
Aryan Bhirud <112156883+AryanBhirud@users.noreply.github.com>
2831
Athan Reines <kgryte@gmail.com>
2932
Ayaka <73595362+USERSATOSHI@users.noreply.github.com>
3033
Bhavishy Agrawal <90029607+bhavishy2801@users.noreply.github.com>
@@ -34,10 +37,12 @@ Bryan Elee <rxbryn@gmail.com>
3437
Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
3538
Christopher Dambamuromo <chridam@gmail.com>
3639
Dan Rose <danoftheroses@gmail.com>
40+
Daniel Hernandez Gomez <156333015+dhernandeez13@users.noreply.github.com>
3741
Daniel Killenberger <daniel.killenberger@gmail.com>
3842
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
3943
Debashis Maharana <debashismaharana7854@gmail.com>
4044
Deep Trivedi <128926685+thedeeppp@users.noreply.github.com>
45+
Deepak Singh <78257493+Deepak91168@users.noreply.github.com>
4146
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
4247
Dev Goel <135586571+corsairier@users.noreply.github.com>
4348
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
@@ -53,11 +58,13 @@ Frank Kovacs <fran70kk@gmail.com>
5358
GK Bishnoi <gkishan1kyt@gmail.com>
5459
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
5560
Gaurav <gaurav70380@gmail.com>
61+
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
5662
Gautam sharma <gautamkrishnasharma1@gmail.com>
5763
Girish Garg <garggirish2020@gmail.com>
5864
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
5965
Gunj Joshi <gunjjoshi8372@gmail.com>
6066
Gururaj Gurram <gururajgurram1512@gmail.com>
67+
Harishchandra Reddy <harish.7000@gmail.com>
6168
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
6269
Harsh <harshyadav6078@gmail.com>
6370
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
@@ -80,6 +87,7 @@ Joris Labie <joris.labie1@gmail.com>
8087
Justin Dennison <justin1dennison@gmail.com>
8188
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
8289
Karan Anand <anandkarancompsci@gmail.com>
90+
Karan Vasudevamurthy <karanlvm123@gmail.com>
8391
Karan Yadav <77043443+karanBRAVO@users.noreply.github.com>
8492
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
8593
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
@@ -89,6 +97,7 @@ Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
8997
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
9098
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
9199
Lalit Narayan Yadav <162928571+LalitNarayanYadav@users.noreply.github.com>
100+
Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
92101
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
93102
MANI <77221000+Eternity0207@users.noreply.github.com>
94103
Mahfuza Humayra Mohona <mhmohona@gmail.com>
@@ -117,6 +126,7 @@ Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
117126
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
118127
Ori Miles <97595296+orimiles5@users.noreply.github.com>
119128
Philipp Burckhardt <pburckhardt@outlook.com>
129+
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
120130
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
121131
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
122132
Pranav Goswami <pranavchiku11@gmail.com>
@@ -146,6 +156,7 @@ Ryan Seal <splrk@users.noreply.github.com>
146156
Rylan Yang <137365285+rylany27@users.noreply.github.com>
147157
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
148158
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
159+
Sachin Raj <120590207+schnrj@users.noreply.github.com>
149160
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
150161
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
151162
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
@@ -166,10 +177,14 @@ Spandan Barve <contact@marsian.dev>
166177
Stephannie Jiménez Gacha <steff456@hotmail.com>
167178
Suhaib Ilahi <suhaib.elahi87@gmail.com>
168179
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
180+
Swapnil Hajare <69076366+Swapnil-2502@users.noreply.github.com>
169181
Tanishq Ahuja <68651083+TheGEN1U5@users.noreply.github.com>
170182
Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
171183
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
172184
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
185+
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
186+
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
187+
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
173188
Utkarsh <http://utkarsh11105@gmail.com>
174189
Utkarsh Raj <rajutkarsh2505@gmail.com>
175190
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
@@ -188,6 +203,7 @@ ditsu <170345142+ditsus@users.noreply.github.com>
188203
ekambains <bainsinbusiness@gmail.com>
189204
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
190205
iraandrushko <71790513+iraandrushko@users.noreply.github.com>
206+
jsai28 <54253219+jsai28@users.noreply.github.com>
191207
lohithganni <116790357+lohithganni@users.noreply.github.com>
192208
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
193209
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>

dist/index.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

include/stdlib/ndarray/base/dtype_char.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ enum STDLIB_NDARRAY_DTYPE_CHAR {
5555
STDLIB_NDARRAY_FLOAT64_CHAR = 'd', // *d*ouble
5656
STDLIB_NDARRAY_FLOAT128_CHAR = 'g',
5757

58+
STDLIB_NDARRAY_COMPLEX32_CHAR = 'j',
5859
STDLIB_NDARRAY_COMPLEX64_CHAR = 'c', // *c*omplex (BLAS convention)
5960
STDLIB_NDARRAY_COMPLEX128_CHAR = 'z', // *z* (BLAS convention)
6061

lib/table.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ function table() {
3232

3333
'bool': 'x',
3434

35+
'complex32': 'j',
3536
'complex64': 'c',
3637
'complex128': 'z',
3738

lib/types.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ f: float32
77
g: float128
88
h: float16
99
i: int32
10-
j:
10+
j: complex32 (16-bit)
1111
k: int16
1212
l: int64
1313
m: int128

src/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ uint8_t stdlib_ndarray_dtype_char( enum STDLIB_NDARRAY_DTYPE dtype ) {
4444
return STDLIB_NDARRAY_FLOAT64_CHAR;
4545
case STDLIB_NDARRAY_FLOAT32:
4646
return STDLIB_NDARRAY_FLOAT32_CHAR;
47+
case STDLIB_NDARRAY_FLOAT16:
48+
return STDLIB_NDARRAY_FLOAT16_CHAR;
4749

4850
case STDLIB_NDARRAY_INT8:
4951
return STDLIB_NDARRAY_INT8_CHAR;
@@ -73,6 +75,8 @@ uint8_t stdlib_ndarray_dtype_char( enum STDLIB_NDARRAY_DTYPE dtype ) {
7375
case STDLIB_NDARRAY_BINARY:
7476
return STDLIB_NDARRAY_BINARY_CHAR;
7577

78+
case STDLIB_NDARRAY_COMPLEX32:
79+
return STDLIB_NDARRAY_COMPLEX32_CHAR;
7680
case STDLIB_NDARRAY_COMPLEX64:
7781
return STDLIB_NDARRAY_COMPLEX64_CHAR;
7882
case STDLIB_NDARRAY_COMPLEX128:

test/test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ var dtypeChar = require( './../lib' );
2929
var DTYPES = [
3030
'float64',
3131
'float32',
32+
'float16',
3233
'int8',
3334
'uint8',
3435
'uint8c',
@@ -40,6 +41,7 @@ var DTYPES = [
4041
'uint64',
4142
'binary',
4243
'generic',
44+
'complex32',
4345
'complex64',
4446
'complex128',
4547
'bool'
@@ -63,6 +65,7 @@ tape( 'the function returns an object mapping data type strings to single letter
6365
expected = [
6466
'd',
6567
'f',
68+
'h',
6669
's',
6770
'b',
6871
'a',
@@ -74,6 +77,7 @@ tape( 'the function returns an object mapping data type strings to single letter
7477
'v',
7578
'r',
7679
'o',
80+
'j',
7781
'c',
7882
'z',
7983
'x'
@@ -95,6 +99,7 @@ tape( 'the function returns the single letter character abbreviation for an unde
9599
expected = [
96100
'd',
97101
'f',
102+
'h',
98103
's',
99104
'b',
100105
'a',
@@ -106,6 +111,7 @@ tape( 'the function returns the single letter character abbreviation for an unde
106111
'v',
107112
'r',
108113
'o',
114+
'j',
109115
'c',
110116
'z',
111117
'x'

0 commit comments

Comments
 (0)