-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Intrinsic arithmetic function overloads #8710
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
Merged
Changes from 13 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
202755b
Support long and double for arithmetic operator functions
jrdodds d6b87e8
Merge branch 'dotnet:main' into IntrinsicFunctionsOverload
jrdodds d01d30e
added argument that exceeds the size of long
jrdodds eb2d53f
use a const char for the decimal separator
jrdodds 68b71d6
Support comparison when the lhs is an integer
jrdodds a5375f3
Order members by TypeCode; add tests and ChangeWave
jrdodds 16670c7
Add change wave to fast path
jrdodds 78ba51f
Merge remote-tracking branch 'upstream/main' into IntrinsicFunctionsO…
jrdodds 7de86f0
add property in Expander_Tests; rename in other classes
jrdodds 49b0afd
reduce code repetition; try double if long fails in the same method
jrdodds 792e61a
modify TryConvertToLong to check long min/max values before convertin…
jrdodds 333f242
modify TryConvertToInt to check int min/max before converting to double
jrdodds 278e381
Merge branch 'dotnet:main' into IntrinsicFunctionsOverload
jrdodds 6369e80
change access to TryConvertToInt, TryConvertToLong, TryConvertToDoubl…
jrdodds e1e705f
chnages to rely on TryParse
jrdodds 0f6ed65
modify test TryConvertToLongGivenDoubleWithLongMaxValue for Apple Sil…
jrdodds de36cf0
Merge branch 'dotnet:main' into IntrinsicFunctionsOverload
jrdodds 158e6e6
cache comparer for arithmetic overloads
jrdodds f2cb002
change to use Type.FindMembers and Array.Sort
jrdodds 824825b
add comment
jrdodds f64fa81
update TryParse to use invariant culture
jrdodds 2339681
change to accept thousands separator and add test for different locale
jrdodds 3d66331
use InvariantCulture with double.TryParse
jrdodds 22f8684
add comments
jrdodds e1c7115
fix IDE0005 error that is not reported in local builds
jrdodds 6d15f2f
Merge branch 'dotnet:main' into IntrinsicFunctionsOverload
jrdodds 4f21730
revert unintended whitespace formatting
jrdodds 65cea2f
Merge branch 'dotnet:main' into IntrinsicFunctionsOverload
jrdodds 19b5039
fix nullable errors after merge
jrdodds File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.