bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: signbit(), C++, and Solaris 10


From: Bruno Haible
Subject: Re: signbit(), C++, and Solaris 10
Date: Fri, 22 Nov 2024 14:16:30 +0100

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]