Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Truncation and Round Off Addition #606

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
per1234 merged 16 commits into arduino:master from animeshsrivastava24:patch-2
Jun 9, 2019

Conversation

Copy link
Contributor

@animeshsrivastava24 animeshsrivastava24 commented May 29, 2019

Addressing the Issue #579. Information related to Truncation and Round Off Addition is added.

Addressing the Issue arduino#579. Information related to Truncation and Round Off Addition is added.
Copy link
Collaborator

@per1234 per1234 left a comment
edited
Loading

Choose a reason for hiding this comment

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

Thanks so much for this @animeshsrivastava24. It's very well written but I have a couple of requests to improve the structure of the page:

Move detailed information to the "Notes and Warnings" section

  • The Description section of a reference page should contain a beginner friendly description. More advanced details should be added to a Notes and Warnings section near the bottom of the page so that beginners won't be overwhelmed with information before they reach the Syntax/Parameters and Example Code sections. The float reference page was already a bit heavy on complex details in the Description section and the information you added makes it far too long.

Please move all the description text from "Floats have only 6-7 decimal digits of precision." onward to a Notes and Warnings section. You can see an example of a Notes and Warnings section in this page:
https://github.com/arduino/reference-en/blob/master/Language/Functions/Math/constrain.adoc

Don't create multiple Example Code sections

The reference page should only contain a single Example Code section. The code examples you have added are great and should be in code blocks, but you should not create an Example Code section for each of them.


Once those changes are made, I'll look over the PR again to see if I maybe have a few other small requests to make but it's better that these larger structural changes are made first.

Copy link
Collaborator

per1234 commented Jun 2, 2019

@animeshsrivastava24 why did you close this? I think it is a very useful and needed pull request. I only am hoping you could make some modifications to the formatting of it as I described above.

Copy link
Contributor Author

@per1234 Definitely, I will make the modifications and format it. Sorry, for the inconvenience caused.

animeshsrivastava24 and others added 13 commits June 9, 2019 22:32
@per1234 per1234 merged commit 2e4da45 into arduino:master Jun 9, 2019
Copy link
Collaborator

per1234 commented Jun 9, 2019

animeshsrivastava24 reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@per1234 per1234 per1234 approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /