|
template<std::integral Value, std::integral Base> |
constexpr Value | reverse_limit (const Value nextDigit, const Base base) |
| The max value x such that x * base + nextDigit will not overflow its type.
|
|
template<std::floating_point Result, std::integral Base> |
constexpr auto | num_meaningful_digits (const Base base) |
| Number of reversed digits that will have effect on the type Result . Due to the limited precision of floating-point types, only a limited number of digits may have an effect on the final radical inversed value.
|
|
template<std::floating_point Result, std::unsigned_integral Value> |
constexpr Result | base_2_scaler () |
|