Changeset 50541

Timestamp:
Jan 11, 2009, 12:30:26 AM (14 years ago)
Author:
Kevin Sopp
Message:
  • mp_int/ctors.hpp Ctors now have an allocator reference parameter. Fixed a bug in dtor reported by Nathan Kitchen on Boost devel mailing list on 10th January.
  • mp_int/sqr.hpp Added small optimization to comba_sqr().
  • mp_int/detail/primitive_ops.hpp Added multiply_by_two, divide_by_two and divide_by_digit functions.
  • mp_int/detail/integral_ops.hpp Added parenthesis around expression to calculate q constant, reported by Nathan Kitchen.
  • mp_int/div.hpp Moved division algo to detail/div.hpp and renamed function to classic_divide.
  • mp_int/detail/div.hpp New.
  • mp_int/root.hpp Fixed nth_root. Added better initial approximation for Newton method.
  • mp_int/mp_int.hpp Added clamp_high_digit(). Added clear_bit, set_bits, clear_bits, truncate functions. Removed is_zero(). Removed divide(). Fixed deallocate() null ptr bug as reported by Nathan Kitchen.
  • test/bitmanipulation.cpp New file to test set_bit, clear_bit functions.
(No files)

Note: See TracChangeset for help on using the changeset viewer.