Chip Hogg
Chip Hogg
I assume we want to _disallow_ inheriting from `quantity` and `quantity_point`. Seems like a pretty suspect operation. Do you (or does anyone else) have a concrete use case where deriving...
That looks incredibly complex and error prone! I also couldn't tell what new information was actually being added, or whether this is all just boilerplate. My instinct is still to...
I'm confused: do we have any evidence that the current setup is not embedded friendly? I haven't kept up on the details of every change to magnitudes since they landed....
> Good point @chiphogg. I forgot about `get_value`. > > Is `long double` available on all the embedded platforms? Said otherwise, is it possible to cross-compile the current `pi` definition...
Great, thanks @K0Stek122! It doesn't look like anyone else has claimed it, so I think it's all yours.
When do you think you'll be able to begin work, @K0Stek122?
Tell us some more! :sweat_smile: - What did you observe? - What did you expect to observe? - What problems is this causing you?
This seems like a reasonable feature. Au already explicitly allows this, for example: https://godbolt.org/z/aT8WvsEqf
...That said, there's one important caveat. In Au, you would **not** be able to _divide_ by an integer type. After all, integer division would truncate the result to 0, which...
> The code below should work fine today: > > ```c++ > if(num < 1 * Unit / 1'000'000'000'000) { > ``` Unfortunately, I think you're right! :wink: https://godbolt.org/z/no7aeG98o