Take in account pos_infinity.