1/3 is not 0.33. Pi is not 3.14. Actually 1/3 is in interval [0.33, 0.34] and pi is in interval [3.14, 3.15].

During computation truncating error is accumulating. At end of computation it is needed to know real boundaries of result. The solution is given by interval arithmetic. Simply speaking, because 1/3 is in interval [0.33, 0.34] and 1/7 is in interval [0.14, 0.15], value 1/3 - 1/7 must be in [0.18, 0.2]. Computation can be arbitrary long and complex but interval arithmetic gives interval that contains exact result of computation.

Sometimes is more easy to use numerical unstable algorithm to solve problem. Instability is actually speed of accumulating the truncation error, but it can be decreased arbitrary by using more precise computation. Interval arithmetic provides us control of accumulating truncating error.

To save Your time using CPU time this program provides interpreter of simple programming language based on interval algebra with arbitrary precision arithmetic.

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow ExactCalc

ExactCalc Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ExactCalc!

Additional Project Details

Operating Systems

Linux, Windows

Intended Audience

Education, Engineering, Science/Research

User Interface

Qt

Programming Language

C++

Related Categories

C++ Mathematics Software, C++ Education Software

Registered

2013-06-12