mp-units
mp-units copied to clipboard
The quantities and units library for C++
`zero` is really useful, as described here: https://aurora-opensource.github.io/au/main/discussion/concepts/zero.
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...
# [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...
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.
Right now wee clone `std::chrono::duration` duration. Consider the usage of one of the following: - https://wg21.link/p0870 - https://wg21.link/p2509
# 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 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"...
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) //...
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