On Wed, 9 Aug 2023 at 17:13, Daniel Watson <[email protected]> wrote:
> BigSigFig result = new BigSigFig("1.1").multiply(new BigSigFig("2"))
Multiply is easy as you take the minimum significant figures. What
about addition?
12345 + 0.0001
Here the significant figures should remain at 5.
And for this:
12345 + 10.0
12345 + 10
12345 + 1
12345 + 1.0
12345 + 1.00
You have to track the overlap of significant digits somehow.
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]