ttmath/ttmath
Tomasz Sowa 019a902fed changed: small optimization in Big::ExpSurrounding0() and Big::LnSurrounding1()
the remainder from a division '%' was changed with a bitwise And operation '&'
         ((i % 5) == 0) was changed to: ((i & 3) == 0) - it means ((i % 4) == 0)
         now the test if performed after 4 iterations (early were after 5 iterations)
         we can do that when the divisor is a power of 2
changed: optimization in Factorial()
         we're testing WasStopSignal() only after a few iterations
         it's faster now about 4 times on GCC 4.3.3 (when stop object is provided to the factorial)


git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@161 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-06-14 19:55:15 +00:00
..
ttmath.h changed: small optimization in Big::ExpSurrounding0() and Big::LnSurrounding1() 2009-06-14 19:55:15 +00:00
ttmathbig.h changed: small optimization in Big::ExpSurrounding0() and Big::LnSurrounding1() 2009-06-14 19:55:15 +00:00
ttmathint.h added: using NaN flag in method Big::ToDouble() and Big::FromDouble() 2009-06-11 02:31:41 +00:00
ttmathobjects.h added: Objects::IsDefined(const std::string & name) 2009-04-02 05:21:49 +00:00
ttmathparser.h added: using NaN flag in method Big::ToDouble() and Big::FromDouble() 2009-06-11 02:31:41 +00:00
ttmathtypes.h added: using NaN flag in method Big::ToDouble() and Big::FromDouble() 2009-06-11 02:31:41 +00:00
ttmathuint.h added: using NaN flag in method Big::ToDouble() and Big::FromDouble() 2009-06-11 02:31:41 +00:00
ttmathuint_noasm.h added: uint UInt::Mul3(const UInt<value_size> & ss2) 2009-05-15 22:27:04 +00:00
ttmathuint_x86.h added: using NaN flag in method Big::ToDouble() and Big::FromDouble() 2009-06-11 02:31:41 +00:00
ttmathuint_x86_64.h added: to Big<> class: support for NaN flag (Not a Number) 2009-05-26 23:13:22 +00:00