#si #physics #units #calculations

si_units

A crate for handling arithmetic with SI units

3 releases

0.1.2 Jan 8, 2024
0.1.1 Jan 8, 2024
0.1.0 Jan 7, 2024

#1786 in Math

MIT/Apache

17KB
392 lines

Adds support for SI unit calculations such as:

  • Addition
  • Subtraction
  • Multiplication
  • Division

This crate also supports:

  • Displaying SI values
  • Generic value types, to allow for "BigInt" values

Dependencies

~0.8–1.4MB
~28K SLoC