1. A method of decoding a low-density parity check (LDPC) code, the method comprising: linearizing a natural logarithm hyperbolic cosine function included in a check node updating equation of a sum-product algorithm used for decoding an LDPC code; and converting the linearized function to correspond to a check node updating equation of a minimum-sum (min-sum) algorithm.