Function behavior at infinity and zero