https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123987
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to lukewang from comment #3) > https://man7.org/linux/man-pages/man3/finite.3.html > The isinf(), isinff(), and isinfl() functions return 1 if x is > positive infinity, -1 if x is negative infinity, and 0 otherwise. > > Why is this behavior inconsistent with that in the Linux manual? Because they are wrong. And has always been wrong.
