mp-units
mp-units copied to clipboard
The quantities and units library for C++
How should I cite this library in a scientific publication? Is there any preferred way to do so, or may the author prefer to reference some conference talk? Having an...
Project logo
- [Pint](https://pint.readthedocs.io/en/stable/index.html) has one ![image](https://user-images.githubusercontent.com/506260/96851226-16f89700-1458-11eb-80bf-14381967374b.png) - [JSR 363](http://unitsofmeasurement.github.io/unit-api) has one ![image](https://user-images.githubusercontent.com/506260/96851275-224bc280-1458-11eb-9fd9-d740082e34a6.png) - maybe we should have one too... ;-)
There are a couple of obstacles associated with using ratios to represent conversion factors, namely: - Nonlinear conversions are not possible - Ratio overflow occurs with some higher-dimensional quantities -...
According to https://en.cppreference.com/w/cpp/compiler_support, MSVC now supports them. https://godbolt.org/z/dfc3ro. `bits/basic_concepts.h` has one such TODO.
Right now `detail::fpow10(-3)` returns `0.000999999999999999999958` which is "nearly" correct ;-)
```cpp using namespace units::aliases::isq::si; auto v = international::mi_per_h(60); auto t = time::s(10); length::m d1 = v * t; auto d2 = v * t; static_assert(std::is_same_v); static_assert(std::is_same_v); static_assert(std::is_same_v); // ERROR static_assert(std::is_same_v);...
The documentation says this "Even though mp-units library does not implement any Linear Algebra types it is generic enough to be used with other Linear Algebra libraries existing on the...
Raise coherent quantity to fractional power doesnt give correct result. Personally I am not so bothered about incoherent quantities but for coherent quantities this can be done better. Currently doesnt...
Hello, Overall the library looks really cool and we are considering adopting it in our org. Would it be possible to add transfer rate options in bits per second instead...
I'm referring to [P1841](https://github.com/cplusplus/papers/issues/594).