refactor: 💥 𝜋 replaced with π

This commit is contained in:
Mateusz Pusz
2024-10-24 07:22:45 +02:00
parent 08b6a51b22
commit af18a6ba51
11 changed files with 62 additions and 62 deletions

View File

@@ -42,11 +42,11 @@ using namespace mp_units;
using namespace mp_units::angular;
using namespace mp_units::angular::unit_symbols;
inline constexpr struct half_revolution final : named_unit<"hrev", mag<𝜋> * radian> {
inline constexpr struct half_revolution final : named_unit<"hrev", mag<π> * radian> {
} half_revolution;
inline constexpr auto hrev = half_revolution;
// constexpr auto revb6 = mag_ratio<1,3> * mag<𝜋> * rad;
// constexpr auto revb6 = mag_ratio<1,3> * mag<π> * rad;
TEST_CASE("value_cast should not truncate for valid inputs", "[value_cast]")
{