mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 20:34:26 +02:00
fix: storage_capacity
definition fixed
This commit is contained in:
@@ -44,7 +44,7 @@ QUANTITY_SPEC(waiting_probability, dimensionless);
|
||||
QUANTITY_SPEC(call_intensity, 1 / isq::duration);
|
||||
inline constexpr auto calling_rate = call_intensity;
|
||||
QUANTITY_SPEC(completed_call_intensity, call_intensity);
|
||||
QUANTITY_SPEC(storage_capacity, dim_storage_capacity);
|
||||
QUANTITY_SPEC(storage_capacity, dimensionless);
|
||||
inline constexpr auto storage_size = storage_capacity;
|
||||
QUANTITY_SPEC(equivalent_binary_storage_capacity, storage_capacity);
|
||||
QUANTITY_SPEC(transfer_rate, storage_capacity / isq::duration);
|
||||
|
@@ -30,7 +30,7 @@ namespace units::iec80000 {
|
||||
|
||||
// clang-format off
|
||||
inline constexpr struct erlang : named_unit<"E", traffic_intensity> {} erlang;
|
||||
inline constexpr struct bit : named_unit<"bit", storage_capacity> {} bit;
|
||||
inline constexpr struct bit : named_unit<"bit", one> {} bit;
|
||||
inline constexpr struct octet : named_unit<"o", mag<8> * bit> {} octet;
|
||||
inline constexpr struct byte : named_unit<"B", mag<8> * bit> {} byte;
|
||||
inline constexpr struct baud : named_unit<"Bd", 1 / si::second> {} baud;
|
||||
|
Reference in New Issue
Block a user