Mateusz Pusz

Results 651 comments of Mateusz Pusz

https://en.wikipedia.org/wiki/Propagation_of_uncertainty

Hi @RalphSteinhagen, thanks for sharing this nice code! I am on vacation now, so I did not have much time for this review. I will probably come back to you...

Good catch @JohelEGP. It seems that negative magnitudes have sense after all :-) @chiphogg, could you please check how to address that? Is the removal of `gt_zero` constraints enough? Maybe...

BTW, I was not aware of CODATA. Maybe we should add most/all of those constants to the library as well?

Some constants use uncertainty. We could extend #464 with those use cases.

I am puzzled now, and I don't really know how to proceed here. We could consider add some structural-type like `quantity_constant` that would take a compile-time known quantity (similarly to...

Let's provide a new thing called `constant` that will still satisfy a `Unit` concept but will allow negative magnitude in its definition. `named_unit` will be constrained to require positive magnitude....

Sure, but I think that I would prefer to be able to do `mag` there over some bool flag.

> https://github.com/BobSteagall/wg21/ doesn't work because it doesn't provide compound assignments. This probably should not be a hard requirement for a representation type. There are plenty of usage representation types that...

> But the equivalent for lvalues, v += v, isn't provided to mean the same thing. Of course, we may, and probably should, submit a bug for this library as...