mpusz / wg21-papers

ISO C++ Committee papers by Mateusz Pusz
https://mpusz.github.io/wg21-papers
4 stars 7 forks source link

Follow up on items from review of #59 and #60 #61

Open chiphogg opened 9 months ago

chiphogg commented 9 months ago

As we work on the unified paper P3045, we should double check to make sure we don't lose feedback from previous versions.

Numerics paper

From this PR (#60), we have these outstanding pieces of feedback for the numerics paper.

Safety paper

From this PR (#59), we have these outstanding pieces of feedback for the safety paper.

JohelEGP commented 9 months ago

IIRC, some were solved in those PRs.

  • [ ] 6.4.3: What is a "canonical unit"? I'm not familiar with this concept.

See https://mpusz.github.io/mp-units/latest/appendix/glossary/#canonical-unit.

  • [ ] 7.4: What does this mean? What is the "reference unit" of a unit? I'm not familiar with this concept.

For reference unit, see https://mpusz.github.io/mp-units/latest/appendix/glossary/#reference-unit.

  • 8.8.4: I have a hard time understanding the template parameters in the API. Sometimes kind is the 2nd parameter; sometimes the 3rd.

See https://github.com/mpusz/wg21-papers/pull/59#issuecomment-1785436257:

Providing a kind is optional for units. For example, you will not provide those for some natural units systems. The typical convention is to put the optional parameters at the end and this was the rationale here. We can refactor if we find it confusing