XNum 1.2 review
DownloadXNum project is a integer arithmetic library written in C++. The difference between XNum and other libraries such as GMP is the th
|
|
XNum project is a integer arithmetic library written in C++.
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
120
+14
---
134
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
XNum 1.2 search tags