ttmath/ttmath
Tomasz Sowa 39db6fc469 fixed: in Big::ToString_CreateNewMantissaAndExponent() changed the formula:
new_exp_ = [log base (2^exponent)] + 1
       now the part '+ 1' is only made when the logarithm is positive and with fraction
       if the value is negative we can only skip the fraction, previously
       we lost some last digits from the new mantissa
       
       Consider this binary value (32 bit mantissa):
       (bin)1.0000000000000000000000000000011
       previously ToString() gave 1, now we have: 1.000000001



git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@274 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-12-28 15:41:28 +00:00
..
ttmath.h fixed: Int::DivInt() should take parameters as 'sint' and not 'int' 2009-11-24 06:12:46 +00:00
ttmathbig.h fixed: in Big::ToString_CreateNewMantissaAndExponent() changed the formula: 2009-12-28 15:41:28 +00:00
ttmathint.h added: std::string UInt::ToString(uint b = 10) 2009-11-24 20:39:36 +00:00
ttmathmisc.h fixed: Factorial(const ValueType & x, ErrorCode * err = 0) 2009-09-17 23:18:11 +00:00
ttmathobjects.h fixed: Big::operator>> didn't correctly recognize values in scientific mode (with 'e' character) 2009-09-13 19:16:42 +00:00
ttmathparser.h fixed: added in the parser: operator's associativity 2009-12-25 22:06:49 +00:00
ttmaththreads.h added: multithread support for Big<> class 2009-08-04 18:23:35 +00:00
ttmathtypes.h fixed: the parser didn't use characters for changing the base (# and &) 2009-12-02 11:38:17 +00:00
ttmathuint.h fixed: Big::Add() should make the half-to-even rounding 2009-12-12 20:45:18 +00:00
ttmathuint_noasm.h added: const char * UInt::LibTypeStr() 2009-11-24 20:15:46 +00:00
ttmathuint_x86.h added: const char * UInt::LibTypeStr() 2009-11-24 20:15:46 +00:00
ttmathuint_x86_64.h added: const char * UInt::LibTypeStr() 2009-11-24 20:15:46 +00:00
ttmathuint_x86_64_msvc.asm changed: small optimization in ttmath_subindexed_x64() 2009-09-20 20:10:29 +00:00