Addition Example
First Number: 0.1; Second Number: 0.2; Operation: Addition (+)
Precise Result: 0.3; Result: 0.3; Difference: 0
This calculator demonstrates the behavior of floating-point numbers in calculations and highlights potential precision issues due to the way computers store and manipulate these numbers. It allows you to input two numbers and an operation, then displays the result and the difference between the calculated result and a more precise value.
Start with your values, or try a preset.
Enter First Number, Second Number, and Operation in the units shown.
Read Precise Result, Result, and Difference in the results panel. Results update as you change the inputs.
Choose a preset to load an example, then adjust the values for your situation.
See the inputs and their calculated results.
First Number: 0.1; Second Number: 0.2; Operation: Addition (+)
Precise Result: 0.3; Result: 0.3; Difference: 0
First Number: 1; Second Number: 0.9; Operation: Subtraction (-)
Precise Result: -0.1; Result: 0.1; Difference: 0.2
First Number: 0.5; Second Number: 0.5; Operation: Multiplication (*)
Precise Result: 0.02; Result: 0.25; Difference: 0.23
Use calculators for algebra, geometry, trigonometry, probability, statistics, averages, z-scores, tests, and graphing tasks.
Continue with another tool on a related topic.
Visualizes the graph of a polynomial function by calculating and plotting points.
Calculates the angle whose sine is a given number. The result is in radians.
Calculates the average where some data points contribute more weight than others.
Performs long division or synthetic division for polynomial expressions.