Large deviations and law of the iterated logarithm for partial sums normalized by the largest absolute observation