[libc-commits] [libc] [libc][math][c23] Add (l|ll)rintf128 and (l|ll)roundf128 math functions. (PR #84504)

via libc-commits libc-commits at lists.llvm.org
Fri Mar 8 09:10:05 PST 2024


lntue wrote:

> I'm just now reading through Annex H which seems to define these.
> 
> `H.11.2 Functions` perhaps it what specifies these. Any idea what `_FloatN` vs `_FloatNx` means?

I think `_FloatN` means exact-N-bit floating point type, and `_FloatNx` means at-least-N-bit floating point type, i.e. extended floating point types.  So you might have something like `_Float32x` could be either single precision or double precision.  `_Float64x` could be either double precision, 80-bit extended precision (most likely), or quadruple precision if you like.

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


More information about the libc-commits mailing list