Skip to content

Commit

Permalink
changes floating point computations
Browse files Browse the repository at this point in the history
Changed to using `decimal.Decimal` for better floating point accuracy.

Removes having to pass a "unit type" constant

Main entry point now always returns a float

General code cleanup.
  • Loading branch information
kdschlosser committed Jun 19, 2021
1 parent 7ba9cf2 commit 06a598b
Showing 1 changed file with 385 additions and 364 deletions.

0 comments on commit 06a598b

Please sign in to comment.