Skip to content

Document float encoding in reference #22152

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

Closed
mdinger opened this issue Feb 10, 2015 · 2 comments · Fixed by #22270
Closed

Document float encoding in reference #22152

mdinger opened this issue Feb 10, 2015 · 2 comments · Fixed by #22270

Comments

@mdinger
Copy link
Contributor

mdinger commented Feb 10, 2015

How floats are encoded needs documentation. I suppose it would go in reference: floating point. If not there, at least somewhere.

@kmcallister
Copy link
Contributor

That section is about the literal syntax specifically.

In the section on machine types we mention:

The machine types are the following:

...

  • The IEEE 754-2008 binary32 and binary64 floating-point types: f32 and f64, respectively.

@mdinger
Copy link
Contributor Author

mdinger commented Feb 10, 2015

Add a reference to it then in the literal section. Makes it easier to discover.

steveklabnik added a commit to steveklabnik/rust that referenced this issue Feb 22, 2015
bombless added a commit to bombless/rust that referenced this issue Feb 23, 2015
Manishearth added a commit to Manishearth/rust that referenced this issue Feb 23, 2015
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
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 a pull request may close this issue.

2 participants