PawelTroka / Computator.NET

Computator.NET is a special kind of numerical software that is fast and easy to use but not worse than others feature-wise. It's features include: - Real and complex functions charts - Real and complex calculator - Real functions numerical calculations including different methods - Over 107 Elementary functions - Over 141 Special functions - Over 21 Matrix functions and operations - Scripting language with power to easy computations including matrices - You can declare your own custom functions with scripting language
GNU General Public License v3.0
233 stars 51 forks source link

NativeCompiler instance always returns the same compiled assembly on Mono #39

Closed PawelTroka closed 7 years ago

PawelTroka commented 7 years ago

Reproduction in UI: image

Reproduction in unit tests: 1) Failed : Computator.NET.Tests.EvaluationTests.ExpressionsEvaluatorTests.ExpressionShouldEvaluateTheSameAsFunction("1/x+x-pow(1/x,x)/PI",0.461278461278616d) Expected: 2.174328440701303d But was: 0.89548419493333231d at Computator.NET.Tests.EvaluationTests.ExpressionsEvaluatorTests.ExpressionShouldEvaluateTheSameAsFunction (System.String tsl, System.Double x) [0x00000] in <5482803aa8e94a688d5c0824284ca568>:0

2) Failed : Computator.NET.Tests.EvaluationTests.ExpressionsEvaluatorTests.ExpressionShouldEvaluateTheSameAsFunction("x+0.001",1999999018.86786d) Expected: 1999999018.8688588d But was: 0.98015436258899491d at Computator.NET.Tests.EvaluationTests.ExpressionsEvaluatorTests.ExpressionShouldEvaluateTheSameAsFunction (System.String tsl, System.Double x) [0x00000] in <5482803aa8e94a688d5c0824284ca568>:0

3) Failed : Computator.NET.Tests.EvaluationTests.ExpressionsEvaluatorTests.ExpressionShouldEvaluateTheSameAsFunction("Debye(1,x)",11) Expected: 0.14952124043952561d But was: 0.0044256979880507854d at Computator.NET.Tests.EvaluationTests.ExpressionsEvaluatorTests.ExpressionShouldEvaluateTheSameAsFunction (System.String tsl, System.Double x) [0x00000] in <5482803aa8e94a688d5c0824284ca568>:0