Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

[System.Numerics] Add support to build with Mono #1

Merged
merged 1 commit into from Jan 5, 2015

Conversation

akoeplinger
Copy link
Member

Required for mono/mono#1433

@@ -517,12 +517,12 @@ internal struct BigNumberBuffer {

bool decimalFmt = (fmt == 'g' || fmt == 'G' || fmt == 'd' || fmt == 'D' || fmt == 'r' || fmt == 'R');

#if SILVERLIGHT ||FEATURE_NETCORE
#if SILVERLIGHT ||FEATURE_NETCORE || MONO

Choose a reason for hiding this comment

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

Hey, are we sure about this change?

It would require decimalFmt = false.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, Mono today also only supports the format specifiers used in decimalFmt: BigInteger.cs#L1458-L1471

@akoeplinger
Copy link
Member Author

Got OK from Miguel, merging.

You answered my concern to my satisfaction, so this is good to go.
Miguel

akoeplinger added a commit that referenced this pull request Jan 5, 2015
[System.Numerics] Add support to build with Mono
@akoeplinger akoeplinger merged commit 6bc0df4 into mono:mono Jan 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants