Skip to content

Conversation

@stephentoub
Copy link
Member

No description provided.

@ghost
Copy link

ghost commented Apr 19, 2022

Tagging subscribers to this area: @dotnet/area-system-linq
See info in area-owners.md if you want to be subscribed.

Issue Details

null

Author: stephentoub
Assignees: -
Labels:

area-System.Linq

Milestone: -

Copy link
Contributor

@dakersnar dakersnar left a comment

Choose a reason for hiding this comment

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

Looks good, very cool how clean this is compared to the old version. It seems to me that there are casting inconsistencies for the Sum float operations, unless I'm missing something.

@ghost ghost added needs-author-action An issue or pull request that requires more info or actions from the author. and removed needs-author-action An issue or pull request that requires more info or actions from the author. labels Apr 19, 2022
Copy link
Member

@tannergooding tannergooding left a comment

Choose a reason for hiding this comment

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

Looks correct to me.

Copy link
Contributor

@dakersnar dakersnar left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for the clarifications and fix.

@stephentoub stephentoub merged commit 4db986e into dotnet:main Apr 20, 2022
@stephentoub stephentoub deleted the linqgenericsum branch April 20, 2022 20:11
directhex pushed a commit to directhex/runtime that referenced this pull request Apr 21, 2022
* Use generic math in Enumerable.Sum/Average

* Address PR feedback
@ghost ghost locked as resolved and limited conversation to collaborators May 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants