Discretization error should not be confused with round-off error arising from floating point arithmetic. Discretization error would occur even if it were possible to use exact arithmetic.
Discretization error is the principal source of error in methods of finite differences and the pseudo-spectral method of computational physics.
When we define the derivative of as or , where is a finitely small number, the difference between the first formula and this approximation is known as discretization error.