On Tue, Sep 13, 2011 at 04:15:01AM +0000, Jukka Ruohonen wrote: > log1p(-Inf) != NaN > log1p(-1.0) != -HUGE_VAL > log1pf(-Inf) != NaN > log1pf(-1.0) != -HUGE_VALF Note that the order of comparison is obviously reversed above.