fixed/optimized: Big::AboutEqual() didn't compile on GCC

(there was used ttmath::Abs() function which is unknown in Big<> class)
         AboutEqual() returned true for: "2345.5" and "-2345.5" (the sign was not checked)
renamed: Big::AboutEqual() to Big::AboutEqualWithoutSign()
added:   Big::AboutEqual()



git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@189 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2009-09-10 16:28:05 +00:00
parent 28964d30f7
commit 74b31b1f54
2 changed files with 63 additions and 63 deletions

View File

@@ -1,4 +1,4 @@
Version 0.9.0 prerelease (2009.09.07):
Version 0.9.0 prerelease (2009.09.10):
* added: support for wide characters (wchar_t)
wide characters are used when macro TTMATH_USE_WCHAR is defined
this macro is defined automatically when there is macro UNICODE or _UNICODE defined
@@ -20,7 +20,8 @@ Version 0.9.0 prerelease (2009.09.07):
* added: multithread support for Big<> class
you should compile with TTMATH_MULTITHREADS
and use TTMATH_MULTITHREADS_HELPER macro somewhere in your *.cpp file
* added: Big::AboutEqual(const Big<exp,man> & ss2, int nBitsToIgnore = 4)
* added: Big::AboutEqual(const Big<exp,man> & ss2, int nBitsToIgnore)
Big::AboutEqualWithoutSign(const Big<exp,man> & ss2, int nBitsToIgnore)
the last nBitsToIgnore bits from mantissas will be skipped when comparing
* added: x86_64 asm code for Microsoft Visual compiler
file: ttmathuint_x86_64_msvc.asm