Address more nitpicky AI comments

This commit is contained in:
Ed Hennis
2026-05-07 17:05:10 -04:00
parent 22d2703ce8
commit cd0f49a003
2 changed files with 3 additions and 5 deletions

View File

@@ -121,8 +121,7 @@ private:
case MantissaScale::Large:
return 1'000'000'000'000'000'000ULL;
default:
// Since this can never be called outside a non-constexpr
// context, this throw assures that the build fails if an
// If called in a constexpr context, this throw assures that the build fails if an
// invalid scale is used.
throw std::runtime_error("Unknown mantissa scale");
}
@@ -139,8 +138,7 @@ private:
case MantissaScale::Large:
return CuspRoundingFix::Enabled;
default:
// Since this can never be called outside a non-constexpr
// context, this throw assures that the build fails if an
// If called in a constexpr context, this throw assures that the build fails if an
// invalid scale is used.
throw std::runtime_error("Unknown mantissa scale");
}