[libc-commits] [libc] [llvm] [libc][math][c23] Add cosbf16 math function (PR #185801)

via libc-commits libc-commits at lists.llvm.org
Sun Nov 22 23:56:54 PST 2026


zimmermann6 wrote:

I get a compiler error:
```
In file included from /localdisk/zimmerma/llvm-project/libc/src/__support/math/sincos_integer_utils.h:17,
                 from /localdisk/zimmerma/llvm-project/libc/src/__support/math/sin_integer_eval.h:12,
                 from /localdisk/zimmerma/llvm-project/libc/src/math/generic/sin.cpp:13:
/localdisk/zimmerma/llvm-project/libc/src/__support/frac128.h: In member function ‘constexpr __llvm_libc_24_0_0_git::Frac128 __llvm_libc_24_0_0_git::Frac128::operator~() const’:
/localdisk/zimmerma/llvm-project/libc/src/__support/frac128.h:21:13: error: uninitialized variable ‘r’ in ‘constexpr’ function
   21 |     Frac128 r;
      |             ^
```

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


More information about the libc-commits mailing list