-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request for sigfig support #629
Comments
This is already supported by the "read precision" (readprec) setting. This can be activated in qalc using
Qalculate also supports specification of the precision/uncertainty/error of a value using By default the precision of the result (uncertainty propagation) is determined using the variance formula, but interval arithmetic can also be used (this is controlled by the "interval arithmetic", or With "read precision" enabled 1.23*2.1 will return 2.583±0.062 (or 2.583±0.072 with interval arithmetic enabled). Note that ± will by default be omitted for values with higher precision (e.g. 1.23 * 2.10 ≈ 2.6) |
Apologies for adding a request without doing the proper research. The real implantation is better than what I requested. |
Feature
Add significant figures (sigfigs) support to Quaculate for calculations.
Why?
To ensure accuracy in scientific and engineering calculations by automatically adjusting output precision based on input sigfigs.
How?
Examples
1.23 * 2.1
Current Output:
2.583
Desired Output:
2.6
(2 sigfigs)12.0 / 3.4
Current Output:
3.52941176
Desired Output:
3.5
(2 sigfigs)Benefits
The text was updated successfully, but these errors were encountered: