A Tiny Mathematical Speed Parser

ATMSP is a portable C++ parser for mathematical expressions like "sin(x)+y^2" e.g. These may contain arbitrary numbers of functions, variables and constants. Major design goal was minimalistic size and maximum speed.

Tiny 320 code-lines offer a parser plus bytecode-generator, 26 mathematical functions and 17 supported base-types including complex and arbitrary MPFR-multiprecision. Both parser and bytecode may run in threads.

The usage of ATMSP is most simple - just include a single header in your own code and go. Reasonably experienced coders may implement other base-types like bool, SSE2, rationals or bigint's with a few changes.

Have fun, Heinz van Saanen

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow ATMSP

ATMSP Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ATMSP!

Additional Project Details

Operating Systems

BSD, Linux, Mac, Server Operating Systems, Windows

Intended Audience

Developers, Engineering, Science/Research

Programming Language

C++

Related Categories

C++ Mathematics Software, C++ Libraries

Registered

2012-01-10