significant-figures: Calculate expressions involving significant figures.
This library provides a module Data.SigFig that helps with the parsing and evaluation of expressions involving significant figures. Significant figures are a method, often used in chemistry, of assessing and controlling the precision/uncertainty from measured values in calculations.
Expressions with significant figures are not easily calculable with a normal calculator, since they require intermediate rounding based on certain rules. This library takes care of intermediate rounding during evaluation and provides functions to parse text into expressions. Parsing supports integer, float, and scientific notation (via E notation), constant terms (terms with effectively infinite significant figures), common operations, parentheses, and an additional small set of functions. Expressions may also be constructed via helper functions.
[Skip to Readme]
|Versions [RSS]||0.1.0.0, 0.1.0.1, 0.2.0.0|
|Dependencies||base (>=220.127.116.11 && <5), HasBigDecimal (>=0.2.0.0 && <0.3), haskeline (>=0.8.1.3), parsec (>=3.1 && <4), significant-figures, terminfo (>=0.4.1.5), text (>=1.2 && <3) [details]|
|Category||Chemistry , Math|
|Uploaded||by mizlan at 2022-10-13T23:09:00Z|
|Downloads||100 total (1 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
|Status||Docs available [build log]
Last success reported on 2022-10-14 [all 1 reports]