Skip to content

Conversation

@Sawyer47
Copy link
Contributor

Important note: I documented current behaviour even though it may not be correct (see issue #15826). round() function for rationals does different rounding than round() from Float trait.

Copy link
Contributor

Choose a reason for hiding this comment

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

As long as you're updating these, it would be nice to change them to be more consistent with the prevailing style, i.e.

/// Rounds towards minus infinity.

(note: according to http://aturon.github.io/style/comments.html the summary line is supposed to end in punctuation, which I think is not actually how most of our comments work right now, but better to match the documented style).

@Sawyer47
Copy link
Contributor Author

Thanks for comments. I've changed other comments too, for consistency.

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