From aad0945589a41f9e24dc9e7fd1f8f65bff8dd2f3 Mon Sep 17 00:00:00 2001 From: Brett Date: Mon, 20 Nov 2023 10:49:47 -0500 Subject: [PATCH] add float16 support to version 1.6.0 --- resources/schemas/stsci.edu/asdf/core/ndarray-1.1.0.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/schemas/stsci.edu/asdf/core/ndarray-1.1.0.yaml b/resources/schemas/stsci.edu/asdf/core/ndarray-1.1.0.yaml index 486bb354..8533df23 100644 --- a/resources/schemas/stsci.edu/asdf/core/ndarray-1.1.0.yaml +++ b/resources/schemas/stsci.edu/asdf/core/ndarray-1.1.0.yaml @@ -170,6 +170,9 @@ definitions: - `uint8`, `uint16`, `uint32`, `uint64`: Unsigned integer types, with the given bit size. + - `float16 `: Half-precision floating-point type or "binary16", + as defined in IEEE 754. + - `float32`: Single-precision floating-point type or "binary32", as defined in IEEE 754. @@ -198,7 +201,7 @@ definitions: anyOf: - type: string enum: [int8, uint8, int16, uint16, int32, uint32, int64, uint64, - float32, float64, complex64, complex128, bool8] + float16, float32, float64, complex64, complex128, bool8] - type: array items: - type: string