diff --git a/.gitignore b/.gitignore
index 15b0563c..831886c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -49,7 +49,7 @@ UpgradeLog*.htm
# OS
$RECYCLE.BIN/
-.DS_Store/
+.DS_Store
Thumbs.db
ehthumbs.db
Desktop.ini
diff --git a/MathNet.Numerics.XamariniOSOnly.sln b/MathNet.Numerics.XamariniOSOnly.sln
new file mode 100644
index 00000000..8fe99ad4
--- /dev/null
+++ b/MathNet.Numerics.XamariniOSOnly.sln
@@ -0,0 +1,23 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Numerics-XamariniOS", "src\Numerics\Numerics-XamariniOS.csproj", "{1C8DCFB2-DB75-4C4B-888B-4AF315FCE3C3}"
+EndProject
+Project("{f2a71f9b-5d33-465a-a702-920d77279786}") = "FSharp-XamariniOS", "src\FSharp\FSharp-XamariniOS.fsproj", "{F5F14E76-428D-43D7-8431-5B895F1BA419}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {1C8DCFB2-DB75-4C4B-888B-4AF315FCE3C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1C8DCFB2-DB75-4C4B-888B-4AF315FCE3C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1C8DCFB2-DB75-4C4B-888B-4AF315FCE3C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1C8DCFB2-DB75-4C4B-888B-4AF315FCE3C3}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F5F14E76-428D-43D7-8431-5B895F1BA419}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F5F14E76-428D-43D7-8431-5B895F1BA419}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F5F14E76-428D-43D7-8431-5B895F1BA419}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F5F14E76-428D-43D7-8431-5B895F1BA419}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+EndGlobal
diff --git a/src/FSharp/BigIntegerExtensions.fs b/src/FSharp/BigIntegerExtensions.fs
index 9696a61e..e3aff48d 100644
--- a/src/FSharp/BigIntegerExtensions.fs
+++ b/src/FSharp/BigIntegerExtensions.fs
@@ -27,8 +27,7 @@ module BigIntegerExtensions =
raise <| FormatException ("The value could not be parsed.")
if str.[0] = '-' then
- parseImpl str len 0I 1
- |> bigint.Negate
+ -(parseImpl str len 0I 1)
else
parseImpl str len 0I 0
diff --git a/src/FSharp/FSharp-XamariniOS.fsproj b/src/FSharp/FSharp-XamariniOS.fsproj
new file mode 100644
index 00000000..652f566f
--- /dev/null
+++ b/src/FSharp/FSharp-XamariniOS.fsproj
@@ -0,0 +1,81 @@
+
+
+
+ FSharp-XamariniOS
+ MathNet.Numerics.FSharp
+ MathNet.Numerics
+ Library
+ Debug
+ AnyCPU
+ {F5F14E76-428D-43D7-8431-5B895F1BA419}
+ {FEACFBD2-3405-455C-9665-78FE426C6842};{F2A71F9B-5D33-465A-A702-920D77279786}
+ Resources
+ ..\..\obj\lib-debug\XamariniOS
+
+
+ TRACE;PORTABLE
+ ..\..\out\lib\XamariniOS\
+ ..\..\obj\lib\XamariniOS\
+ ..\..\obj\lib\XamariniOS\
+ ..\..\out\lib\XamariniOS\MathNet.Numerics.FSharp.XML
+ true
+ true
+ true
+ full
+ 3
+ true
+ true
+
+
+ TRACE;DEBUG;PORTABLE
+ ..\..\out\lib-debug\XamariniOS\
+ ..\..\obj\lib-debug\XamariniOS\
+ ..\..\obj\lib-debug\XamariniOS\
+ false
+ false
+ true
+ full
+ 3
+ false
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {1C8DCFB2-DB75-4C4B-888B-4AF315FCE3C3}
+ Numerics-XamariniOS
+
+
+
+
\ No newline at end of file
diff --git a/src/Numerics/Numerics-XamariniOS.csproj b/src/Numerics/Numerics-XamariniOS.csproj
new file mode 100644
index 00000000..b404c5c1
--- /dev/null
+++ b/src/Numerics/Numerics-XamariniOS.csproj
@@ -0,0 +1,75 @@
+
+
+
+ Debug
+ AnyCPU
+ {1C8DCFB2-DB75-4C4B-888B-4AF315FCE3C3}
+ Library
+ MathNet.Numerics
+ MathNet.Numerics
+ {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ Resources
+ ..\..\obj\lib-debug\XamariniOS
+
+
+ true
+ full
+ false
+ ..\..\out\lib-debug\XamariniOS\
+ ..\..\obj\lib-debug\XamariniOS\
+ ..\..\obj\lib-debug\XamariniOS\
+ DEBUG;PORTABLE;NOSYSNUMERICS;NET45REFLECTION
+ prompt
+ 4
+ false
+ true
+ true
+
+
+
+
+
+ true
+ true
+ ..\..\out\lib\XamariniOS\
+ ..\..\obj\lib\XamariniOS\
+ ..\..\obj\lib\XamariniOS\
+ PORTABLE;NOSYSNUMERICS;NET45REFLECTION
+ prompt
+ 4
+ ..\..\out\lib\XamariniOS\MathNet.Numerics.xml
+ false
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PublicResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+
+
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
\ No newline at end of file