[libc-commits] [libc] [libc][math] Fix -Wc++23-extensions warnings in erfcf16 and erff16. (PR #215613)

via libc-commits libc-commits at lists.llvm.org
Wed Aug 12 11:04:24 PDT 2026


zhangweize9-cyber wrote:

Good evening! @lntue 

Github actions all passed! Here’s my troubleshooting approach:  

First of all, thank you for providing the `FPBits::zero().getval()` interface. I tested it locally using `FPBits::zero().getval()` first, but when GitHub Actions reached the “windows-2022 - clang-ci” step, it failed with the message `Restoring cache failed with exit code 52.` The full error message is as follows:

```txt
Restoring cache failed: Error: The process ‘C:\Program Files\Git\bin\sh.exe’ failed with exit code 52
```

I suspected that `float16` might not have been explicitly declared, so I modified the code to:

```h
return fputil::FPBits<float16>::zero().get_val();
```

The issue was resolved.

Are there any further details that need to be addressed?

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


More information about the libc-commits mailing list