ts826848
ts826848
As reported in issue #284, some functions produce incorrect results when passed certain dimensionless quantites. For example, this program from the issue, slightly modified for brevity and to try to...
A few variables prefixed with UNITS_ are defined to control various build options, but prefix-less versions are checked in the rest of the file when determining their values. This makes...
Would a PR to add optional support for C++20 concepts be considered, or is that out of scope for this library? I've experimented with adding concepts based on the `is__unit_v`...
enum34 appears to be a potential source of problems when installed in environments using Python 3.4 or later [0, 1]. Apparently enum34 1.1.8 was able to avoid these issues, but...
My understanding of the difference between `C-j`/`C-k` from this plugin and the built-in `C-g`/`C-t` is that the built-in ones advance the cursor from match to match, while the ones from...
A mil was defined as 1000 inches instead of 1/1000 inches.
units::modf() appears to add a spurious scaling factor to the fractional result it returns. For example, this test code: percent pval{202.5}; double pmodfr1; decltype(pval) pmodfr2; EXPECT_EQ(std::modf(pval.to(), &pmodfr1), units::modf(pval, &pmodfr2)); EXPECT_EQ(pmodfr1,...
CMake's if() statement works a bit strangely for historical reasons. In particular, variable evaluation can be somewhat unintuitive, which can lead to strange behavior. In particular, the docs state[^0]: Note...
This is somewhat related to #87. While that PR prevents an exception with escaped delimiters, attempting to substitute something with backslashes still doesn't work properly. For example, attempting to replace...
Attempting to replace all forward slashes with backslashes using `S;/;\\;g` results in an exception: ``` Error detected while processing function 15_subvert_dispatcher[2]..15_parse_subvert[9]..15_parse_substitute[9]..15_throw: line 2: E605: Exception not caught: Abolish: E471: Argument...