Chip Hogg

Results 82 issues of Chip Hogg

Right now, there are numbers we know we can't factor at compile time: see comments in #217. We're using too many steps, and clang bails. However, those comments also suggest...

:muscle: effort: medium
:arrow_down: affects: code (implementation)

See for example. Of course, this problem is broadly known, which is why `std::cmp_less` and friends were added to C++20. As mp-units mostly just wraps the underlying raw types, we'd...

It seems reasonable to expect that if `a % b == ZERO`, then `a / unblock_int_div(b)` is safe. However, this is not true in general. Consider , where the condition...

:muscle: effort: medium
:arrow_down: affects: code (interfaces)

For each of these, it'd be good to have one concise example, and link to a bunch more. Honestly, we should have an "examples" section in our doc website, so...

:arrow_down: affects: documentation
:muscle: effort: small

This is blocked on clang 17 (#487).

:muscle: effort: small
:arrow_down: affects: repo or tools
:memo: status: blocked

Clang 17 isn't the newest version, but it's supported starting in [version 1.0.0 of `toolchains_llvm`](https://github.com/bazel-contrib/toolchains_llvm/releases/tag/1.0.0). However, that has a minimum version of bazel of 7.0.0, and we're still stuck on...

:muscle: effort: tiny
:arrow_down: affects: repo or tools
:memo: status: blocked

This is probably blocked on #485. I tried updating the version, and it started complaining about protobuf packages: I googled around a little bit, and it seemed like this might...

:muscle: effort: small
:arrow_down: affects: repo or tools
:memo: status: blocked

Our bazel version gets more and more out of date all the time, as does our way of interacting with bazel via a WORKSPACE file. We will need to bite...

:muscle: effort: medium
:arrow_down: affects: repo or tools

By this, I mean that `#include "au/units/foo.hh"` should provide only `foo`, and no other units, for every file in `au/units`. This will help keep users IWYU-clean, and in principle should...

:muscle: effort: small
:arrow_down: affects: code (implementation)

`milli(inverse(bytes))` and `inverse(milli(bytes))` both have a label `mB^(-1)`, but they are different by a factor of 1 million.

:muscle: effort: small
:arrow_down: affects: code (implementation)