On Fri, 22 Nov 2024, Bruno Haible wrote:

Damian McGuckin wrote:
Why does 'signbit()' have type 'bool' in the local 'math.h'?

Because that's the mandated return type in C++:
https://en.cppreference.com/w/cpp/numeric/math/signbit
https://en.cppreference.com/w/c/numeric/math/signbit

Silly me, I forgot C++ disagrees with the C standard.

So somewhere, is something in the build process pulling in the C header?

Thanks - Damian

Reply via email to