Coder Social home page Coder Social logo

ncalc's People

Contributors

sebastienros avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ncalc's Issues

HasErrors() function comment error?

In the comments for what the HasErrors() function returns, it says: "True if the expression syntax is correct, otherwiser False". Isn't the opposite true? Does it not return True if there is an error, and False if everything is OK?

Tests failing on build server but not locally?

Recently I setup a new build server that uses VS 2017 for builds and executes the tests within VS.
Our old build server and all our dev machines all run the tests fine but this one new build server for some reason is throwing this exception during the build process on a few of our tests ...

NCalc.EvaluationException: Type 'System.Diagnostics.TraceEventCache' in assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.

Have you guys ever come across this?

Looking at the capabilities the only difference I could see was that the old build box used the previous version of VS (2015) and the new one uses 2017, both VS versions are Enterprise.

Other than that everything seems to be the same except for the OS as our old build box was a windows 10 box the new one is a server (windows 2016).

Maybe this is something to do with running the build process on a server?

Is the project maintained?

Hello, I'm wondering whether this project is alive.
The issues are not being answered, pull requests are not discussed.
Any updates planned?

Thanks.

The collection's state is no longer correct Exception

I randomly get this exception when calling Evaluate from the middleware of my ASP.Net Core web application. All I do is pass a string into the expression. I cannot think of any way that I can be affecting any collections in a non-concurrent way. Any suggestions?

NCalc.EvaluationException: Operations that change non-concurrent collections must have exclusive access.
A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct. at NCalc.Expression.Evaluate()

            var eap = new NCalc.Expression(expression);
            return eap.Evaluate();

Getting integer overflows and inifity

Is there a way to make it detect divide by zero and integer overflow? 2/0 returns infinity and multiplying large numbers returns a negative number.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.