Chip Hogg
Chip Hogg
Please include the following information in your issue: 1. _Which version of `units` you are using_: 2.3.1, although this problem exists on all versions, including 3.x. 2. _Which compiler exhibited...
`percent_t` is implicitly constructible from numeric types, and implicitly convertible to `double`. On construction, it interprets the value as a _percentage_. On implicit conversion, it turns it into a _scalar_....
This test fails for `i` in 29, 57, 58. ```cpp TEST(PercentT, RecoversInputValues) { for (int i = 0; i
Following up to clean up from #300.
Now that we are using `Magnitude`, not `ratio`, we need to decide how a Magnitude should be printed, and then implement that policy. We'll need to take into account, among...
### My situation Multimarkdown (MMD) is a popular superset of markdown. It has the killer (for me) feature of LaTeX-style equations -- a _must_, since I plan to switch to...
Maybe I've missed it, but it's not obvious to me how to write a plugin that plays nice with `vim-codefmt`. We have a custom code formatter at work, and I'd...
I'm working on a plugin whose configuration uses a mix of vim builtin settings and maktaba flags. Accordingly, I want to add custom text to the configuration section to point...
This was definitely working for chrome in late 2021, because I gave [my talk](https://www.youtube.com/watch?v=5dhFtSu3wCo) using these slides. Here's a specific slide we can use as an example: https://chogg.name/cppcon-2021-units/#/38 Press the...
Consider this round-trip unit conversion, using both the nholthaus library and [Au](https://github.com/aurora-opensource/au). ```cpp double nholthaus_round_trip(double x) { return ::units::angle::degree_t{::units::angle::radian_t{::units::angle::degree_t{x}}}.value(); } double au_round_trip(double x) { return au::degrees(x).as(au::radians).in(au::degrees); } ``` I expected...