ttmath/samples
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
..
Makefile added: macro TTMATH_DONT_USE_WCHAR 2010-03-01 13:08:50 +00:00
big.cpp fixed: Big::ToDouble(double &) set always +INF (infinity) 2010-09-22 19:43:12 +00:00
big2.cpp fixed: Big::ToDouble(double &) set always +INF (infinity) 2010-09-22 19:43:12 +00:00
int.cpp added: DegToDeg(deg, min, sec), DegToRad(deg), DegToRad(deg, min, sec), 2007-03-28 22:27:57 +00:00
parser.cpp fixed: Big::ToDouble(double &) set always +INF (infinity) 2010-09-22 19:43:12 +00:00
uint.cpp added: DegToDeg(deg, min, sec), DegToRad(deg), DegToRad(deg, min, sec), 2007-03-28 22:27:57 +00:00