Functions with same limit at infinity