[libc-commits] [libc] [libc][NFC] Rename SPECIAL_X86_LONG_DOUBLE in LIBC_LONG_DOUBLE_IS_X86_BIN80 (PR #73950)

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Fri Dec 1 00:46:09 PST 2023


gchatelet wrote:

> Shall we consistently call all the floating points `FLOATN` everywhere? `LIBC_LONG_DOUBLE_IS_X86_FLOAT80` seems a bit better to me.

That makes sense. IEEE754 makes the distinction between binary floats and decimal floats so I thought keeping the `BIN` part was important but no strong opinions here. Since the decimal types are not defined by the standard I think it's fine to assume that all floats are binary - for the purpose of LLVM libc.

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


More information about the libc-commits mailing list