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 ae61b302a8 fixed: TTMATH_DEBUG_LOG has generated different carry-flags in UInt<> (when TTMATH_NOASM was used)
fixed: some GCC warnings about uninitialized variables
added: macro TTMATH_BIG_DEFAULT_CLEAR
       when defined the default constructor from Big<> clears its mantissa and exponent
       Big<1, 2> var;
       var.mantissa and var.exponent will be set to zero
       (but var has the NaN flag set too - it is not zero value, this is mainly for debug purposes)
added: Big::SetZeroNan()
       this method sets NaN flag (Not a Number)
       also clears the mantissa and exponent (similarly as it would be a zero value)



git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@309 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-09-15 20:43:21 +00:00
constgen added: to Big<> class: support for NaN flag (Not a Number) 2009-05-26 23:13:22 +00:00
samples added: macro TTMATH_DONT_USE_WCHAR 2010-03-01 13:08:50 +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: TTMATH_DEBUG_LOG has generated different carry-flags in UInt<> (when TTMATH_NOASM was used) 2010-09-15 20:43:21 +00:00
CHANGELOG fixed: TTMATH_DEBUG_LOG has generated different carry-flags in UInt<> (when TTMATH_NOASM was used) 2010-09-15 20:43:21 +00:00
COPYRIGHT removed: from Big::ToString() the feature with calculating how many valid digits there are 2010-02-02 21:02:10 +00:00
README updated: CHANGELOG and README 2009-10-25 16:42:41 +00:00
doxygen.cfg changed: version of the library: 0.8.3 now 2009-04-06 16:34:19 +00:00

README

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. With the library also goes a mathematical parser to
help you solving mathematical expressions.

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

The main goal of the library is to allow one to use big values in the same
way as the standard types like int or float. 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 at compile time.

Author: Tomasz Sowa <t.sowa@ttmath.org>
WWW:    http://www.ttmath.org

Contributors:
Christian Kaiser <chk@online.de>