Tehforsch / diman

Define rust compile time unit systems using const generics
52 stars 2 forks source link

Rational dimensions #48

Closed Tehforsch closed 8 months ago

Tehforsch commented 8 months ago

Solves #25

This adds the rational-dimensions feature to use rational dimensions instead of just integer dimensions. Comes along with some minor code cleanups. I added my own very unsophisticated Ratio type in order not to pull in an additional dependency.

Todo: