[libc-commits] [libc] [libc][math][C23] add software float16 support (PR #184283)

via libc-commits libc-commits at lists.llvm.org
Fri Aug 28 19:37:05 PDT 2026


================
@@ -50,8 +50,20 @@
 // LIBC_TYPES_HAS_FLOAT16 is provided by
 // "include/llvm-libc-macros/float16-macros.h"
 #ifdef LIBC_TYPES_HAS_FLOAT16
----------------
AnonMiraj wrote:

in `libc/include/llvm-libc-macros/float16-macros.h`
 you will find that if software emulations is needed it defines `LIBC_TYPES_HAS_FLOAT16`
 I am probably going to change it since we are gonna make the software emulation the default 

https://github.com/llvm/llvm-project/pull/184283


More information about the libc-commits mailing list