-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::quantity
as a numeric type
#20
Comments
I understand the structure. Please, clarify the intent. For the non-wording portions,
|
No. It is meant to solve all of the math-related issues and concerns before we provide the first paper for LEWG with interfaces and, eventually, wording in later revisions.
That's the point :-) I was writing the documentation with that in mind. If not copy-and-paste, documentation still highlights most things we need to describe there. The audience is different, so pure copy-paste may not be enough,
Agree. |
We also need to describe that as long as |
That's just math. |
inline constexpr struct hertz : named_unit<"Hz", 1 / second, kind_of<isq::frequency>> {} hertz; It seems that only multiplication after a number has a sense, or we would have to heavily complicate the notation of inverses for units, dimensions, and quantity_specs (i.e. using |
dimension_one
,dimensionless
,one
)The text was updated successfully, but these errors were encountered: