From bd3bc04c5f75da69afac129588e3e4a9d6f5a47c Mon Sep 17 00:00:00 2001 From: sathwikv2005 Date: Sat, 27 Jun 2026 13:54:40 +0530 Subject: [PATCH] fix(float16): define stdlib_float16_bits_t for native _Float16 --- .../number/float16/ctor/include/stdlib/number/float16/ctor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/number/float16/ctor/include/stdlib/number/float16/ctor.h b/lib/node_modules/@stdlib/number/float16/ctor/include/stdlib/number/float16/ctor.h index 8d6eef6c3739..ca6cf6fd2a45 100644 --- a/lib/node_modules/@stdlib/number/float16/ctor/include/stdlib/number/float16/ctor.h +++ b/lib/node_modules/@stdlib/number/float16/ctor/include/stdlib/number/float16/ctor.h @@ -76,6 +76,8 @@ typedef struct { uint16_t bits; } stdlib_float16_t; +#endif + /** * An opaque type definition for a union for accessing the underlying binary representation of a half-precision floating-point number. * @@ -91,8 +93,6 @@ typedef union { uint16_t bits; } stdlib_float16_bits_t; -#endif - /** * Converts a half-precision floating-point number to its binary representation. */