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
Bruno Haible via Gnulib discussion list Fri, 22 Nov 2024 05:17:04 -0800
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