MathX is a fixed-length arithmetic-types written in pure c++ templates.
The goal is to provide signed-integer, unsigned-integer, IEEE-754 float-point and fixed-point types, all with specific number of bits.
To this moment, only signed-integer and unsigned-integer are completed for little-endain architecture.
Any compiler that support c++03 or c++11 can successfully compile MathX.
Refer to README for more information.
Features
- easy to learn and use.
- signed-integer, unsigned-integer, IEEE-754 float-point, fixed-point
- Little- and Big- Endians memory layout for integers.
- usage is excatly as fundamental types.
- support for STL (still in development).
- conversion between all MathX numeric types is allowed.
- conversion between MathX numeric types and fundamental types is allowed.
- string conversion support all numeric bases you dream of.
- you can add more numeric base in matter of seconds.
- a ready to use mathematical library (still in development).
- ready to use integer types with sizes (in bits): 128, 256, 512, 1024, 2048, 4096
License
Boost Software License (BSL1.0)Follow MathX
Other Useful Business Software
Auth0 for AI Agents now in GA
Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of MathX!