Tehforsch / diman

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

Improve quantity creation with stabilized `const_fn_floating_point_arithmetic` #85

Open Tehforsch opened 2 months ago

Tehforsch commented 2 months ago

Ever since https://github.com/rust-lang/rust/pull/128596, we should be able to create quantities more conveniently and remove the tiny performance overhead.

It might be worth re-reading the design decisions in #56 if something new is now possible.