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

Project Activity

See All Activity >

License

Boost Software License (BSL1.0)

Follow MathX

MathX Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

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.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MathX!

Additional Project Details

Intended Audience

Developers, Education, Information Technology, Science/Research, Security

Programming Language

C++

Related Categories

C++ Cryptography Software, C++ Frameworks, C++ Mathematics Software

Registered

2011-08-12