Overview There are two types of error representation error and arithmetic rounding error which are common in floating point calculations.…