Skip to content

Make a note about "gigabyte" #29660

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

Merged
merged 1 commit into from
Nov 7, 2015
Merged

Make a note about "gigabyte" #29660

merged 1 commit into from
Nov 7, 2015

Conversation

steveklabnik
Copy link
Member

Fixes #28461

@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

number comes from 2<sup>30</sup>, the number of bytes in a gigabyte.
number comes from 2<sup>30</sup>, the number of bytes in a gigabyte. [^gigabyte]

[^gigabyte]: ‘Gigabyte’ can mean two things: 10^9, or 2^30. The SI standard resolved this by stating that ‘gigabyte’ is 10^9, and ‘gibibyte’ is 2^30. However, very few people use this terminology, and rely on context to differentiate. We follow in that tradition here.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has to be one line for rustdoc to render it properly

@brson
Copy link
Contributor

brson commented Nov 6, 2015

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 6, 2015

📌 Commit 5eacf66 has been approved by brson

Manishearth added a commit to Manishearth/rust that referenced this pull request Nov 7, 2015
bors added a commit that referenced this pull request Nov 7, 2015
@bors bors merged commit 5eacf66 into rust-lang:master Nov 7, 2015
@steveklabnik steveklabnik deleted the gh28461 branch June 19, 2016 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants