uom icon indicating copy to clipboard operation
uom copied to clipboard

Units of measurement -- type-safe zero-cost dimensional analysis

Results 151 uom issues
Sort by recently updated
recently updated
newest added

Initial implementation of #303.

Poor attempt at implementing #201. No tests, doesn't compile under no_std, missing documentation, fails CI, etc. Breaks every rule regarding macros and generic programming.

Currently `sin` and `cos` functions are disabled on `no_std`. These are common functions which are easily available through `libm`, so it makes sense to expose them.

`impl Op for Quantity` is already complete. Add the following reference implementations: - [ ] `impl Op for Quantity` - [ ] `impl

help wanted

I need to add quantum mechanics into the mix. Planck's constant is 6.62607015 × 10−34 joule second. I've looked at a few arbitrary precision libraries but I'm not sure which...

It would be great if there was an easy way to combine this crate with [ndarray](https://docs.rs/ndarray/0.14.0/ndarray/index.html). I didn't find an easy way to do this. The way I see it...

Decibels aren't part of SI units, bu it would be nice to support them within this library. Is this something that would be acceptable to include in this library?

`powf` is not currently supported because quantity dimensions need an integer power. For example length cubed = volume. What is length ^ 2/7? Per discussion at https://www.reddit.com/r/rust/comments/jp0xpd/question_is_boostunits_possible_on_rust/ sometimes `powf` really...

Another old PR that has been lying around forever. Adds `Ratio` as an underlying storage type. Would anyone find this type useful? Does anyone think this type should _not_ be...