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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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