mp-units icon indicating copy to clipboard operation
mp-units copied to clipboard

The quantities and units library for C++

Results 121 mp-units issues
Sort by recently updated
recently updated
newest added

`zero` is really useful, as described here: https://aurora-opensource.github.io/au/main/discussion/concepts/zero.

enhancement
design

Got this bug while developing and wondering weather this is possible using mp-units v2. When multiplying watt and seconds I am not able to place it into a variable that...

bug

# [f](#feat)eat!: composable symbols My original intent with "symbols" was to have composable 1-letter symbols that can describe units. For example, m for metre and mm for millimetre, all with...

Hi I'm trying to compile mp-units 2.0.0 on windows with Visual Studio (tried with 16 and 17), but it fails. It was working well with v0.8.0 I'm using cmake directly...

gated

Improve and productize a `measurement` class and use it in the definition of the IAU system based on https://web.archive.org/web/20131110215339/http://asa.usno.navy.mil/static/files/2014/Astronomical_Constants_2014.pdf.

enhancement

Right now wee clone `std::chrono::duration` duration. Consider the usage of one of the following: - https://wg21.link/p0870 - https://wg21.link/p2509

enhancement
iso
design
gated

# Prime numbers (unit magnitude) unfit for standardization The current mp-units library (v2.0), since #300, implements the amount of an unit, its magnitude, as a sum of prime numbers. [...

iso
design

ISO 80000-1 §A.4 "Constants" references CODATA: . It lists fundamental constants, including some negative ones. Browse to "All values (ascii)", search for `-`, and see some under the column "Value"...

enhancement
design

Right now, we only support equality comparisons, but maybe something like the one below makes sense? ```cpp if constexpr (q.unit > GHz) // ... if constexpr (q.unit > one) //...

design

Given the very basic example, compilation fails, and it fails when using fmt::format. for example, everything is fine, up until line 57: ` std::cout

gated