summaryrefslogtreecommitdiff
path: root/gmpxx.h
Commit message (Expand)AuthorAgeFilesLines
* Update some old uses of __GMPXX_CONSTANT to bring them in line with the new o...Marc Glisse2013-02-171-26/+17
* Construct temporary mpq from double on the stack, as is already the case for ...Marc Glisse2013-02-171-93/+28
* gmpxx.h (mpq_class, mpf_class): Some more SI->UI optimisations.Marco Bodrato2013-02-171-18/+33
* #include <algorithm> for std::swap.Marc Glisse2013-02-161-0/+1
* Use __builtin_constant_p in mpz_class::init_* and mpz_class::assign_*.Marc Glisse2013-02-151-6/+48
* Refactor the C++ code to convert from builtin types so we have a singleMarc Glisse2013-02-151-103/+62
* Reduce the number of worker functions in __gmp_binary_equal (forwardMarc Glisse2013-02-141-8/+8
* Remove code duplication between __gmp_binary_greater and __gmp_binary_less.Marc Glisse2013-02-141-60/+2
* Specialize std::common_type for expressions with builtin types.Marc Glisse2012-07-281-0/+25
* Disable __builtin_constant_p for g++34.Marc Glisse2012-07-211-1/+3
* specializing numeric_limits is useless if the content is private...Marc Glisse2012-06-231-0/+3
* Unify handling of mpf with mpz/mpq. Function eval had 2 arguments for mpf:Marc Glisse2012-06-091-75/+43
* Handle mpq_class(0,1)Marc Glisse2012-05-311-1/+8
* explicit conversion to boolMarc Glisse2012-05-111-0/+12
* C++11 user-defined literalsMarc Glisse2012-03-081-2/+22
* Specialize std::numeric_limits for mp*_class types. It is mostly meaningless,...Marc Glisse2012-02-291-0/+114
* Use macros like NUM, ALLOC, SIZ, etc in mpq/*.Marc Glisse2012-02-241-0/+5
* Remove a temporary in expressions like q=q*q+z*z: tmp=z*z, q=q*q, q+=tmp.Marc Glisse2012-02-181-12/+12
* Comment out long double function declarations. Half of them were already comm...Marc Glisse2012-02-181-3/+3
* Specialize std::common_type in C++11.Marc Glisse2012-02-181-2/+24
* Replace e=a*b-c*d with tmp=c*d, e=a*b, e-=tmp, which uses one less temporary.Marc Glisse2012-02-161-6/+9
* Remove test for compilosaurus.Marc Glisse2012-02-011-13/+2
* Initial C++11 support.Marc Glisse2012-01-301-6/+45
* Replace d=a+b+c with (d=a+b)+=c when c!=d.Marc Glisse2012-01-301-8/+40
* Make sure we never compute -LONG_MIN.Marc Glisse2012-01-281-19/+24
* more mp_bitcnt_t...Marc Glisse2012-01-281-10/+11
* Spacing cleanup.Torbjorn Granlund2011-11-211-1/+1
* Add swap functions to gmpxx.Marc Glisse2011-09-211-0/+10
* __builtin_constant_p optimizations to turn x+0 into x, x*4 into x<<2, etc, al...Marc Glisse2011-08-211-168/+301
* C++: automatically turn c=(a+b)/2 into c=a+b;c/=2, no need for a temporary.Marc Glisse2011-05-151-8/+8
* Remove an unneeded overload of <<Marc Glisse2011-05-151-9/+1
* Test stream input/output on mp*_class and not just mp*_t.Marc Glisse2011-05-101-3/+6
* mp_bitcnt_t for [lr]shift.Marc Glisse2011-05-081-12/+12
* More mp_bitcnt_t. Probably still some left.Marc Glisse2011-05-081-4/+4
* More mp_bitcnt_t missed.Marc Glisse2011-05-081-25/+25
* Small gmpxx simplifications and optimizations.Marc Glisse2011-05-071-98/+28
* Make some conversions between C++ types explicit.Marc Glisse2011-05-061-2/+11
* Dedup the comparison code.Marc Glisse2011-03-201-197/+3
* Fix __gmp_set_expr declaration.Marc Glisse2011-03-201-17/+0
* Inline mpz_set_*i where it is safeMarc Glisse2011-03-161-8/+27
* Make __GMPZ_ULI_LIMBS more preprocessor-friendly.Marc Glisse2011-03-151-1/+7
* Store small temporary mpq on the stack.Marc Glisse2011-03-151-56/+27
* Put temp mpz_t from double on stack everywhereMarc Glisse2011-03-121-101/+51
* Remove leftover #undefsMarc Glisse2011-03-121-6/+0
* Change all bit counts for bignums to use mp_bitcnt_t. Update documentation.Torbjorn Granlund2009-12-201-42/+42
* (__GMP_DBL_LIMBS): Use DBL_MAX_EXP instead ofTorbjorn Granlund2008-09-081-76/+73
* * gmpxx.h (struct __gmp_binary_rshift): Use floor rounding, not truncation.tege2008-02-271-1/+1
* (__gmp_binary_and, __gmp_binary_ior, __gmp_binary_xor):tege2008-02-271-0/+54
* Update license to version 3.tege2007-09-181-4/+2
* Remove ternary stuff, it is hardly an optimization and ittege2006-11-041-497/+0