TTMath For Mac Publisher's description
from Tomasz Sowa
TTMath is a small library which allows one to perform arithmetic operations...
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.
What's New in This Release:В· fixed: Big::Add() sometimes incorrectly rounded the last bit from its mantissa
В· fixed: Big::BigAnd() Big::BigOr() Big::BigXor() should have set NaN
В· when the argument was negative (they only returned 2)
В· fixed: recurrence calling in Big::FromString(const std::string &, uint, const wchar_t **, bool *)
В· it should have the signature: Big::FromString(const std::string &, uint, const char **, bool *)
В· fixed: Big::ToString method
В· in some cases when in the output string the exponent should be equal zero
В· the method changes the exponent to one so the last digit from the mantissa
В· was lost
В· fixed: Big::ToDouble(double &) set always +INF (infinity)
В· when the value was too large (even for negative values)
В· (it should set -INF in such a case)
В· added: some missing operators
В· UInt::operator~() /* bitwise neg */
В· UInt::operator&() /* bitwise and */
В· UInt::operator|() /* bitwise or */
В· UInt::operator^() /* bitwise xor */
System Requirements:No special requirements.
Program Release Status: New Release
Program Install Support: Install and Uninstall