TTMath is a small library which allows one to perform arithmetic operations with big unsigned integer, big signed integer and big floating point numbers.
Go to file
Tomasz Sowa e665f91682 fixed: the problem with GCC optimization on x86_64
sometimes when using -O2 or -O3 GCC doesn't set correctly
         the stack pointer (actually the stack is used for other things)
         and you can't use instructions like push/pop in assembler code.
         All the asm code in x86_64 have been rewritten, now instructions
         push/pop are not used, other thing which have access to stack 
         (like "m" (mask) constraints in Rcl2 and Rcr2) have also gone away,
         now the library works well with -O2 and -O3 and the asm code
         is a little faster



git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@127 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-05-05 07:20:10 +00:00
constgen added: 'constgen' directory -- there is a program there to generate some constants used in ttmathbig.h 2009-03-12 20:54:46 +00:00
samples added: 'constgen' directory -- there is a program there to generate some constants used in ttmathbig.h 2009-03-12 20:54:46 +00:00
tests added: 'constgen' directory -- there is a program there to generate some constants used in ttmathbig.h 2009-03-12 20:54:46 +00:00
ttmath fixed: the problem with GCC optimization on x86_64 2009-05-05 07:20:10 +00:00
CHANGELOG fixed: the problem with GCC optimization on x86_64 2009-05-05 07:20:10 +00:00
COPYRIGHT changed: version of the library: 0.8.3 now 2009-04-06 16:34:19 +00:00
README changed: version of the library: 0.8.3 now 2009-04-06 16:34:19 +00:00
doxygen.cfg changed: version of the library: 0.8.3 now 2009-04-06 16:34:19 +00:00

README

TTMath - a bignum library for C++

TTMath is a small library which allows one to perform arithmetic operations
with big unsigned integer, big signed integer and big floating point
numbers. It provides standard mathematical operations like adding,
subtracting, multiplying, dividing etc. With the library also goes
a mathematical parser which helps you solving input formulas read directly
from a user.

TTMath is developed under the BSD licence which means that it is free
for both personal and commercial use.

The library has some technical limitations:
 * there are only two platforms that are supported: x86 and x86_64,
 * you can use this library only with the C++ programming language.

The main goal of the library is to allow one to use big values in the same
way as the standard types like int, float, etc. It does not need to be
compiled first because the whole library is written as the C++ templates.
This means only C++ developers can use this library and one thing they have
to do is to use 'include' directive of the preprocessor. How big the
values can be is set directly in the source code by the programmer.

Author: Tomasz Sowa <t.sowa@slimaczek.pl>
Project pages: http://ttmath.slimaczek.pl
http://sourceforge.net/projects/ttmath