A Problem of Accuracy of Computer Calculations
Figure 1.
Program codes in the C++ programming language for checking of the fulfilment the distributive law: (a) for numbers 0,987, 0,278, and 1,268 in double format; (b) for numbers 0,9871, 0,2781, and 1,268 in float format