Skip to content

Unit of Measure Library

Latest

Choose a tag to compare

@point85 point85 released this 13 Jun 23:50
· 2 commits to master since this release
  • Constant: fixed AVOGADRO typo
  • MeasurementSytem: defined EPSILON for floating point precision; implemented locks for thread synchronization
  • Prefix: made prefixes a ConcurrentBag; simplified FromFactor() and FromName(); GetDefinedPrefixes() returns read only list
  • Quantity: used EPSILON in Equals() comparison and simplified it; checked for division by 0 in Divide() methods; check for zero amount in Invert()
  • UnitOfMeasure: use ConcurrentDictionary; implemented locks for thread synchronization; simplified ConvertUnit()