homepage: ''
changelog-type: markdown
hash: 3442b848efc7af43a4ac3ecf85c4552a2f289841828b13a09c8395d5d556606c
test-bench-deps:
  base: -any
  text: -any
  HUnit: -any
  HasBigDecimal: -any
  tasty-hunit: -any
  tasty: ^>=1.4.2.3
  significant-figures: -any
maintainer: michaellan202@gmail.com
synopsis: Calculate expressions involving significant figures.
changelog: |
  # Revision history for significant-figures

  ## 0.1.0.0 -- YYYY-mm-dd

  * First version. Released on an unsuspecting world.
basic-deps:
  haskeline: '>=0.8.1.3'
  base: '>=4.14.3.0 && <5'
  text: '>=1.2 && <3'
  parsec: '>=3.1 && <4'
  HasBigDecimal: '>=0.2.0.0 && <0.3'
  terminfo: '>=0.4.1.5'
  significant-figures: -any
all-versions:
- 0.1.0.0
author: Michael Lan
latest: 0.1.0.0
description-type: haddock
description: |-
  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 the rules governing significant figures. This library takes care of not only the intermediate rounding during evaluation, but also 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 can also be constructed via helper functions.

  Evaluation takes care of rounding when dealing with expressions involving either/both of constant and measured terms. A few functions, however, such as @log()@, are unsupported on constant arguments, since with the current implementation it is impractical to store such a value that has theoretical infinite significant figures.
license-name: GPL-3.0-or-later

Update from Hackage at 2022-09-06T00:43:40Z
Update from Hackage at 2022-09-06T00:43:40Z
