Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert BitRate and Information to double #1353

Merged
merged 14 commits into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Common/UnitDefinitions/BitRate.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"Name": "BitRate",
"BaseUnit": "BitPerSecond",
"ValueType": "decimal",
"XmlDocSummary": "In telecommunications and computing, bit rate is the number of bits that are conveyed or processed per unit of time.",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Bit_rate",
"BaseDimensions": { "T": -1 },
Expand All @@ -22,8 +21,8 @@
{
"SingularName": "BytePerSecond",
"PluralName": "BytesPerSecond",
"FromUnitToBaseFunc": "{x} * 8m",
"FromBaseToUnitFunc": "{x} / 8m",
"FromUnitToBaseFunc": "{x} * 8",
"FromBaseToUnitFunc": "{x} / 8",
"Prefixes": [ "Kilo", "Mega", "Giga", "Tera", "Peta", "Exa", "Kibi", "Mebi", "Gibi", "Tebi", "Pebi", "Exbi" ],
"Localization": [
{
Expand Down
5 changes: 2 additions & 3 deletions Common/UnitDefinitions/Information.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"Name": "Information",
"BaseUnit": "Bit",
"ValueType": "decimal",
"XmlDocSummary": "In computing and telecommunications, a unit of information is the capacity of some standard data storage system or communication channel, used to measure the capacities of other systems and channels. In information theory, units of information are also used to measure the information contents or entropy of random variables.",
"Units": [
{
"SingularName": "Byte",
"PluralName": "Bytes",
"FromUnitToBaseFunc": "{x} * 8m",
"FromBaseToUnitFunc": "{x} / 8m",
"FromUnitToBaseFunc": "{x} * 8",
"FromBaseToUnitFunc": "{x} / 8",
"Prefixes": [ "Kilo", "Mega", "Giga", "Tera", "Peta", "Exa", "Kibi", "Mebi", "Gibi", "Tebi", "Pebi", "Exbi" ],
"Localization": [
{
Expand Down
56 changes: 28 additions & 28 deletions UnitsNet.NanoFramework/GeneratedCode/Quantities/BitRate.g.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 28 additions & 28 deletions UnitsNet.NanoFramework/GeneratedCode/Quantities/Information.g.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading