Skip to content

Conversation

@jkotas
Copy link
Member

@jkotas jkotas commented Dec 6, 2020

Related to #45074

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@ghost
Copy link

ghost commented Dec 6, 2020

Tagging subscribers to this area: @tannergooding, @pgovind
See info in area-owners.md if you want to be subscribed.

Issue Details

Related to #45074

Author: jkotas
Assignees: -
Labels:

area-System.Numerics

Milestone: -

@EgorBo
Copy link
Member

EgorBo commented Dec 6, 2020

I thoughts these are used in some nuget packages for other profiles - the comment confused me. That's why I didn't delete them as part of #45074

}

/// <summary>
/// We don't have access to Math.DivRem, so this is a copy of the implementation.
Copy link
Member

Choose a reason for hiding this comment

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

Another one with similar comment about this helper:

// We don't have access to System.Buffers.Text.FormattingHelpers.DivMod,
// so this is a copy of the implementation.
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static uint DivMod(uint numerator, uint denominator, out uint modulo)

Copy link
Member Author

Choose a reason for hiding this comment

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

System.Text.Json is compiled downlevel, so it would need ifdefs

Copy link
Member

Choose a reason for hiding this comment

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

True, maybe comment can be updated since there is no System.Buffers.Text.FormattingHelpers.DivMod after this change.

@jkotas
Copy link
Member Author

jkotas commented Dec 6, 2020

Failures are known issues #44657, #45654, #45660

@jkotas jkotas merged commit a5d0bcf into dotnet:master Dec 6, 2020
@jkotas jkotas deleted the DivMod branch December 6, 2020 20:42
@ghost ghost locked as resolved and limited conversation to collaborators Jan 5, 2021
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.

4 participants