XInt is a big number class that is designed to be a "drop-in" replacement for both integers and all floating point types. In theory, you could take an existing programme, replace all integer and floating point types with XInt and it should compile and run exactly as it did before but with greater precision.

There are some exceptions. Obviously, if you are relying on over/underflow behaviour, it won't work, XInt does not overflow! It will underflow but in a controlled fashion and you can specify how it behaves.

XInt stands for eXtended Integer. In fact, they are extended in two directions - l and r. The l extension is the fact that they do not have a size limit (except for available memory) and the r extension is that they have decimal places (also unlimited).

A large part of math.h has been overloaded for XInt and the rest will follow. The functions that have not been overloaded (sin etc.) can still be accessed as there are conversion operators to and from long double.

Project Activity

See All Activity >

Categories

Libraries

Follow XInt

XInt Web Site

Other Useful Business Software
Zenflow- The AI Workflow Engine for Software Devs Icon
Zenflow- The AI Workflow Engine for Software Devs

Parallel agents. Multi-agent orchestration. Specs that turn into shipped code. Zenflow automates planning, coding, testing, and verification.

Zenflow is the AI workflow engine built for real teams. Parallel agents plan, code, test, and verify in one workflow. With spec-driven development and deep context, Zenflow turns requirements into production-ready output so teams ship faster and stay in flow.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of XInt!

Additional Project Details

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Libraries

Registered

2017-03-10