ttmath/ttmath
Tomasz Sowa a40e951923 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 methods for converting
       for UInt<>, Int<> and Big<> classes:
       uint ToUInt()
       sint ToInt()
       ToUInt(uint32_t &)
       ToInt(uint32_t &)
       ToInt(int32_t &)
       ToUInt(uint64_t &)
       ToInt(uint64_t &)
       ToInt(int64_t &)
       FromUInt(uint32_t &)
       FromInt(uint32_t &)
       FromInt(int32_t &)
       FromUInt(uint64_t &)
       FromInt(uint64_t &)
       FromInt(int64_t &)
       and appropriate constructors and operators
       *** version for 64 bit platforms are not tested yet ***
added: double Big::ToDouble() /there was only Big::ToDouble(double &) /
       uint Big::ToFloat(float &)
       float Big::ToFloat()



git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@316 e52654a7-88a9-db11-a3e9-0013d4bc506e
2010-09-22 19:43:12 +00:00
..
ttmath.h fixed: TTMATH_DEBUG_LOG has generated different carry-flags in UInt<> (when TTMATH_NOASM was used) 2010-09-15 20:43:21 +00:00
ttmathbig.h fixed: Big::ToDouble(double &) set always +INF (infinity) 2010-09-22 19:43:12 +00:00
ttmathint.h fixed: Big::ToDouble(double &) set always +INF (infinity) 2010-09-22 19:43:12 +00:00
ttmathmisc.h added: macro TTMATH_DONT_USE_WCHAR 2010-03-01 13:08:50 +00:00
ttmathobjects.h added: macro TTMATH_DONT_USE_WCHAR 2010-03-01 13:08:50 +00:00
ttmathparser.h added: on 32bit platforms: 2010-09-19 17:23:39 +00:00
ttmaththreads.h added: multithread support for Big<> class 2009-08-04 18:23:35 +00:00
ttmathtypes.h added: on 32bit platforms: 2010-09-19 17:23:39 +00:00
ttmathuint.h added: some missing methods: ::FromUInt ::FromInt 2010-09-21 22:31:07 +00:00
ttmathuint_noasm.h fixed: TTMATH_DEBUG_LOG has generated different carry-flags in UInt<> (when TTMATH_NOASM was used) 2010-09-15 20:43:21 +00:00
ttmathuint_x86.h added: static sint UInt<value_size>::FindLowestBitInWord(uint x) 2010-01-03 01:10:37 +00:00
ttmathuint_x86_64.h added: on 32bit platforms: 2010-09-19 17:23:39 +00:00
ttmathuint_x86_64_msvc.asm changed: small optimization in ttmath_subindexed_x64() 2009-09-20 20:10:29 +00:00