On Tue, Sep 06, 2022 at 09:40:59AM +0200, Aldy Hernandez wrote: > if (x <= Inf)
This will be [-Inf, Inf] !NAN on the true side and
NAN (either sign) on the false side indeed.
> if (x < -Inf)
will be NAN (either sign) on the true side and
[-Inf, Inf] !NAN on the false side.
Jakub
