diff --git a/lib/node_modules/@stdlib/array/dtypes/README.md b/lib/node_modules/@stdlib/array/dtypes/README.md index 871271f1b62e..d06a271c44ef 100644 --- a/lib/node_modules/@stdlib/array/dtypes/README.md +++ b/lib/node_modules/@stdlib/array/dtypes/README.md @@ -46,11 +46,12 @@ Returns a list of array data types. ```javascript var out = dtypes(); -// e.g., returns [ 'float32', 'float64', ... ] +// e.g., returns [ 'float16', 'float32', ... ] ``` When not provided a data type "kind", the function returns an array containing the following data types: +- `float16`: half-precision floating-point numbers. - `float32`: single-precision floating-point numbers. - `float64`: double-precision floating-point numbers. - `complex64`: single-precision complex floating-point numbers. diff --git a/lib/node_modules/@stdlib/array/dtypes/docs/repl.txt b/lib/node_modules/@stdlib/array/dtypes/docs/repl.txt index 879c0d28acfb..24a09a2cfc23 100644 --- a/lib/node_modules/@stdlib/array/dtypes/docs/repl.txt +++ b/lib/node_modules/@stdlib/array/dtypes/docs/repl.txt @@ -5,6 +5,7 @@ When not provided a data type "kind", the function returns an array containing the following data types: + - float16: half-precision floating-point numbers. - float32: single-precision floating-point numbers. - float64: double-precision floating-point numbers. - complex64: single-precision complex floating-point numbers. diff --git a/lib/node_modules/@stdlib/array/dtypes/docs/types/index.d.ts b/lib/node_modules/@stdlib/array/dtypes/docs/types/index.d.ts index ec6cf2c99447..24c02de641bd 100644 --- a/lib/node_modules/@stdlib/array/dtypes/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/array/dtypes/docs/types/index.d.ts @@ -30,7 +30,7 @@ import { DataType, DataTypeKind } from '@stdlib/types/array'; * * @example * var list = dtypes(); -* // e.g., returns [ 'float32', 'float64', ... ] +* // e.g., returns [ 'float16', 'float32', ... ] * * @example * var list = dtypes( 'floating_point' ); diff --git a/lib/node_modules/@stdlib/array/dtypes/lib/dtypes.json b/lib/node_modules/@stdlib/array/dtypes/lib/dtypes.json index 2a827b1a43ad..63b483148fad 100644 --- a/lib/node_modules/@stdlib/array/dtypes/lib/dtypes.json +++ b/lib/node_modules/@stdlib/array/dtypes/lib/dtypes.json @@ -3,6 +3,7 @@ "bool", "complex64", "complex128", + "float16", "float32", "float64", "generic", @@ -18,6 +19,7 @@ "bool", "complex64", "complex128", + "float16", "float32", "float64", "int16", @@ -31,10 +33,12 @@ "floating_point": [ "complex64", "complex128", + "float16", "float32", "float64" ], "real_floating_point": [ + "float16", "float32", "float64" ], @@ -66,6 +70,7 @@ "uint8c" ], "real": [ + "float16", "float32", "float64", "int16", @@ -79,6 +84,7 @@ "numeric": [ "complex64", "complex128", + "float16", "float32", "float64", "int16", diff --git a/lib/node_modules/@stdlib/array/dtypes/lib/index.js b/lib/node_modules/@stdlib/array/dtypes/lib/index.js index eb466770e99d..a9dd2ea568b4 100644 --- a/lib/node_modules/@stdlib/array/dtypes/lib/index.js +++ b/lib/node_modules/@stdlib/array/dtypes/lib/index.js @@ -27,7 +27,7 @@ * var dtypes = require( '@stdlib/array/dtypes' ); * * var list = dtypes(); -* // e.g., returns [ 'float32', 'float64', 'generic', 'int16', 'int32', 'int8', 'uint16', 'uint32', 'uint8', 'uint8c', 'complex128', 'complex64', 'bool' ] +* // e.g., returns [ 'float16', 'float32', 'generic', 'int16', 'int32', 'int8', 'uint16', 'uint32', 'uint8', 'uint8c', 'complex128', 'complex64', 'bool' ] */ // MODULES // diff --git a/lib/node_modules/@stdlib/array/dtypes/lib/main.js b/lib/node_modules/@stdlib/array/dtypes/lib/main.js index 2e09a3221142..d69091b72683 100644 --- a/lib/node_modules/@stdlib/array/dtypes/lib/main.js +++ b/lib/node_modules/@stdlib/array/dtypes/lib/main.js @@ -39,7 +39,7 @@ var RE_SUFFIX = /_and_generic$/; * * @example * var list = dtypes(); -* // e.g., returns [ 'float32', 'float64', ... ] +* // e.g., returns [ 'float16', 'float32', ... ] * * @example * var list = dtypes( 'floating_point' ); diff --git a/lib/node_modules/@stdlib/array/dtypes/test/test.js b/lib/node_modules/@stdlib/array/dtypes/test/test.js index 2f27dac27bd3..edc8603e1c95 100644 --- a/lib/node_modules/@stdlib/array/dtypes/test/test.js +++ b/lib/node_modules/@stdlib/array/dtypes/test/test.js @@ -40,6 +40,7 @@ tape( 'the function returns a list of array data types', function test( t ) { 'bool', 'complex64', 'complex128', + 'float16', 'float32', 'float64', 'generic', @@ -65,6 +66,7 @@ tape( 'the function supports returning a list of array data types (all)', functi 'bool', 'complex64', 'complex128', + 'float16', 'float32', 'float64', 'generic', @@ -90,6 +92,7 @@ tape( 'the function supports returning a list of array data types (all, includin 'bool', 'complex64', 'complex128', + 'float16', 'float32', 'float64', 'generic', @@ -115,6 +118,7 @@ tape( 'the function supports returning a list of array data types (typed)', func 'bool', 'complex64', 'complex128', + 'float16', 'float32', 'float64', 'int16', @@ -139,6 +143,7 @@ tape( 'the function supports returning a list of array data types (typed, includ 'bool', 'complex64', 'complex128', + 'float16', 'float32', 'float64', 'int16', @@ -163,6 +168,7 @@ tape( 'the function supports returning a list of floating-point array data types expected = [ 'complex64', 'complex128', + 'float16', 'float32', 'float64' ]; @@ -179,6 +185,7 @@ tape( 'the function supports returning a list of floating-point array data types expected = [ 'complex64', 'complex128', + 'float16', 'float32', 'float64', 'generic' @@ -194,6 +201,7 @@ tape( 'the function supports returning a list of real-valued floating-point arra var actual; expected = [ + 'float16', 'float32', 'float64' ]; @@ -208,6 +216,7 @@ tape( 'the function supports returning a list of real-valued floating-point arra var actual; expected = [ + 'float16', 'float32', 'float64', 'generic' @@ -382,6 +391,7 @@ tape( 'the function supports returning a list of real-valued array data types', var actual; expected = [ + 'float16', 'float32', 'float64', 'int16', @@ -403,6 +413,7 @@ tape( 'the function supports returning a list of real-valued array data types (i var actual; expected = [ + 'float16', 'float32', 'float64', 'int16', @@ -427,6 +438,7 @@ tape( 'the function supports returning a list of numeric array data types', func expected = [ 'complex64', 'complex128', + 'float16', 'float32', 'float64', 'int16', @@ -450,6 +462,7 @@ tape( 'the function supports returning a list of numeric array data types (inclu expected = [ 'complex64', 'complex128', + 'float16', 'float32', 'float64', 'int16',