From b2908a3d8202f7655c3fe293698bb28a7edda195 Mon Sep 17 00:00:00 2001 From: Samarth Kolarkar Date: Sat, 3 Oct 2026 23:51:38 +0530 Subject: [PATCH] feat: add float16 dtype support to `ndarray/to-string` --- lib/node_modules/@stdlib/ndarray/to-string/lib/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/node_modules/@stdlib/ndarray/to-string/lib/main.js b/lib/node_modules/@stdlib/ndarray/to-string/lib/main.js index 64b378a47a01..d4ead600fd51 100644 --- a/lib/node_modules/@stdlib/ndarray/to-string/lib/main.js +++ b/lib/node_modules/@stdlib/ndarray/to-string/lib/main.js @@ -46,6 +46,7 @@ var CTORS = { 'uint16': 'new Uint16Array( [ {{data}} ] )', 'int32': 'new Int32Array( [ {{data}} ] )', 'uint32': 'new Uint32Array( [ {{data}} ] )', + 'float16': 'new Float16Array( [ {{data}} ] )', 'float32': 'new Float32Array( [ {{data}} ] )', 'float64': 'new Float64Array( [ {{data}} ] )', 'generic': '[ {{data}} ]',