XNum project is a integer arithmetic library written in C++.
Version: 1.2XNum project is a integer arithmetic library written in C++.
Operating System: Linux
The difference between XNum and other libraries such as GMP is the the former tries to imitate the practical method that humans use to do the arithmetic themselves.
xnum implements the four basic operations (+, -, *, /) using the type of arithmetic we learned at school.
For example, to add two numbers
This makes the code quite easy to read and understand.
C++ overloading techniques have been used so that the new data type, "XNumber", can be used naturally as the internal integer data types.
What's New in This Release:
· Updated to compile with less warning on gcc 3.x