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 GNU roff typesetting system discussion Fri, 22 Nov 2024 05:17:32 -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