Skip to content

Added quantity utils

Valentin Valls requested to merge quantity-utils into master

This MR introduce a lib to deal quantities and physical units.

  • Parse quantity with units
  • Convert them to a fixed unit
  • Plus a toHumanReadableUnit function to automatically pick a unit prefix to reduce the size of a numerical value (2ns instead of 0.000000002s).
Edited by Valentin Valls

Merge request reports