| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
(Known Build Problems): Recommend GNU sed on solaris 2.6.
(Assigning Integers): Direct feedback to bug-gmp.
(References): Typo Knuth vol 2 is from 1998.
* gmpxx.h (gmp_randclass): Add initializers for gmp_randinit_default
and gmp_randinit_lc_2exp_size.
gmp.texi (C++ Interface Random Numbers): Describe them.
And use @cross in a couple more places.
|
|
|
|
|
|
|
|
|
|
|
|
| |
for the sparc solaris 2.7 problem.
(Reentrancy): SCO ctype.h affects all text-based input functions.
(Formatted Output Strings): Correction to the mpf example.
(Single Limb Division): Correction, should be q-1 not q+1.
(Extended GCD): Clarify why single-limb is inferior.
(Raw Output Internals): Clarify size is twos complement, note limb
order means _mp_d doesn't get directly read or written.
(Contributors): Clarify mpz_jacobi.
And a couple of formatting tweaks elsewhere.
|
| |
|
| |
|
| |
|
|
|
|
| |
* gmp.texi (Number Theoretic Functions): Remove documentation.
|
| |
|
|
|
|
|
|
| |
* mpz/init2.c, mpz/realloc2.c: New files.
* gmp.texi
(Initializing Integers): Add documentation, reword other parts.
|
|
|
|
| |
for mp_bits_per_limb.
|
| |
|
|
|
|
| |
depends on libgmp from same GMP version.
|
|
|
|
|
| |
* gmp.texi (Efficiency): Mention these instead of _mpz_realloc.
(Initializing Integers): Add documentation, reword other parts.
|
|
|
|
|
| |
(Function Classes): Update function counts.
Misc tweaks elsewhere.
|
|
|
|
| |
* gmp.texi (Build Options): Update.
|
|
|
|
|
|
|
|
| |
gmp_randinit_lc_2exp_size, mark gmp_randinit as obsolete.
(Random State Seeding): New section, taken from "Random State
Initialization" and "Random Number Functions".
And tweak the description of the scanf return value.
|
|
|
|
|
|
|
|
|
|
|
| |
exponents.
(Assigning Floats, I/O of Floats, C++ Formatted Output, C++ Formatted
Input): Decimal point follows locale.
(Formatted Output Strings): %n accepts any type.
(Formatted Input Strings): New section.
(Formatted Input Functions): New section.
(C++ Class Interface): Corrections and clarifications suggested by
Gerardo.
|
| |
|
| |
|
|
|
|
| |
Windows DLLs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Notes for Particular Systems): C++ Windows DLLs are not supported.
(Known Build Problems): Note sparc solaris 2.7 gcc 2.95.2 shared
library problems.
(Autoconf): Tweak version numbers shown.
(Integer Roots): mpz_perfect_square_p and mpz_perfect_power_p consider
0 and 1 perfect powers, mpz_perfect_power_p accepts negatives.
(Number Theoretic Functions): Add mpz_millerrabin, combined with a
reworded mpz_probab_prime_p.
(Formatted Output Strings): Misc clarifications.
(Formatted Output Functions): gmp_asprintf, gmp_vasprintf,
gmp_snprintf, gmp_vsnprintf always available.
(C++ Formatted Output): Misc rewordings.
(Formatted Input): New chapter.
(C++ Class Interface): New chapter, by Gerardo and me.
(Language Bindings): Update GMP++ now in GMP.
(C++ Interface Internals): New section, by Gerardo and me.
|
|
|
|
|
|
|
|
|
| |
(Integer Comparisons, Comparing Rationals, Float Comparison): Index
entries for sign tests.
(I/O of Floats): Clarify mpf_out_str exponent is in decimal.
(C++ Formatted Output): mpf_t operator<< exponent now in decimal.
(FFT Multiplication): Use an ascii art sigma.
(Contributors): Add Gerardo Ballabio.
|
|
|
|
|
|
|
|
| |
(Build Options): Note macos directory.
(Notes for Package Builds): GMP 4 series binary compatible with 3.
(Known Build Problems): Remove $* and ansi2knr note, now fixed, except
possibly under --host=none.
(Formatted Output Strings): Remove -1 prec for all digits.
|
|
|
|
|
|
|
|
|
|
|
| |
(Notes for Particular Systems): Mention pentium4 performance and SSE2.
(Known Build Problems): Remove vax jsobgtr note, no longer needed.
(Converting Floats): Tweak mpf_get_str description.
(Low-level Functions): Correction to mpn_gcdext destination space
requiremeents.
(C++ Formatted Output): New section.
(Language Bindings): Add ALP
(Contributors): Add Paul Zimmermann's square root, update my things.
|
| |
|
|
|
|
|
|
| |
behaviour, clarify mpz_popcount a touch.
(Language Bindings): Add mlton, fix alphabetical order.
(Single Limb Division): Describe 2 or 1/2 limbs at a time style.
|
|
|
|
| |
* gmp.texi (Notes for Particular Systems): Update.
|
|
|
|
| |
* gmp.texi: Switch to GFDL.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Top): Arrange copyright and conditions to appear here too. For
clarity have all this before the miscellaneous macro definitions.
(Copying): Refer to COPYING.LIB file, mention plain GPL2 in demo
programs.
(Contributors, References): Use @appendix rather than @unnumbered.
(GNU Free Documentation License): New appendix.
(@contents): Move to start of document, use only for tex (not html).
(Debugging): Add leakbug.
(Build Options): Add pentium4.
(I/O of Rationals): Add mpq_inp_str.
|
|
|
|
|
|
|
|
| |
tests/printf/Makefile.am, gmp-h.in, gmp-impl.h, gmp.texi: Remove C++
support, for the time being.
* printf/doprnt.c, printf/doprntf.c, gmp-impl.h, gmp.texi,
tests/printf/t-printf.c: Let empty or -1 prec mean all digits for mpf.
|
|
|
|
| |
the C library.
|
|
|
|
| |
* gmp.texi (Build Options): Add --enable-cxx.
|
|
|
|
|
|
|
|
|
| |
(Converting Floats): Note mpf_get_str only generates accurately
representable digits.
(Low-level Functions): Note mpn_get_str requires non-zero high limb.
(Formatted Output): New chapter.
(Multiplication Algorithms): Use @quotation with @multitable.
(Toom-Cook 3-Way Multiplication): Ditto.
|
|
|
|
|
|
| |
* gmp.texi (Comparing Rationals): Add doco.
And a few tweaks to the mpf intro.
|
|
|
|
| |
prototypes.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--enable-alloca behaviour.
(Debugging): Describe --enable-alloca=debug.
(Miscellaneous Integer Functions): Note mpz_sizeinbase ignores signs.
(Low-level Functions): Give a formula for mpn_gcdext cofactor.
(Factorial Algorithm): New section.
(Binomial Coefficients Algorithm): New section.
Misc tweaks elsewhere.
And a bit more of:
(Language Bindings): New chapter.
|
|
|
|
| |
(Notes for Particular Systems): i386 means generic x86.
|
|
|
|
|
|
|
|
|
| |
odd. Separate the jacobi/legendre/kronecker descriptions.
(Low-level Functions): Document mpn_mul_1 "incr" overlaps.
(Language Bindings): New chapter.
Plus a bit more for Fibonacci algorithms, and a couple of tweaks
elsewhere.
|
|
|
|
|
| |
as in gmp 3.1.
* gmp.texi (ABI and ISA): Update.
|
|
|
|
|
|
|
|
|
| |
(Notes for Particular Systems): Describe windows DLL handling.
(Known Build Problems): DJGPP needs bash 2.04.
(Number Theoretic Functions): mpz_invert returns 0<=r<modulus; add
mpz_fib2_ui, mpz_lucnum_ui, mpz_lucnum2_ui.
(Fibonacci Numbers Algorithm): Update for new formulas used.
(Lucas Numbers Algorithm): New section.
|
|
|
|
|
|
|
|
| |
(Notes for Package Builds): Note gmp.h is a generated file.
(Notes for Particular Systems): -march=pentiumpro is used for gcc
2.95.4 and up.
(Assembler Loop Unrolling): Mention non power-of-2 unrolling.
(Internals): New chapter.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Notes for Particular Systems): Mention 68k dragonball and cpu32.
(Efficiency): Add static linking, more about in-place operations,
describe mpq+/-integer using addmul.
(Reporting Bugs): A couple of words about self-contained reports.
(Floating-point Functions): Note exponent limitations of mpf_get_str
and mpf_set_str.
(Initializing Floats): Clarify mpf_get_prec, mpf_set_prec and
mpf_set_prec_raw a bit.
(Float Comparison): Note current mpf_eq deficiencies.
|
|
|
|
| |
Remove mpz_si_pow_ui, pending full si support.
|
|
|
|
|
|
|
| |
mpz_neg etc in-place.
(Integer Arithmetic): Add mpz_addmul, mpz_submul, mpz_submul_ui.
(Initializing Rationals): Add mpq_set_str.
(Low-level Functions): mpn_set_str requires strsize >= 1.
|
| |
|
|
|
|
|
|
|
| |
now always positive.
Also, de-emphasise si functions under efficiency, and use a formula
d=2^b in the 2exp divisions.
|
| |
|
|
|
|
|
|
|
| |
Add prototypes.
* gmp.texi: Add documentation.
(Actually mpf_cmp_d snuck though already.)
|
|
|
|
|
|
|
| |
(Integer Division): Add mpz_divexact_si and mpz_divexact_ui.
(Number Theoretic Functions): Fix mpz_nextprime return type.
(Exact Remainder): Divisibility tests now implemented.
And more index entries in a few places.
|
|
|
|
| |
compatibility.
|
|
|
|
| |
* gmp.texi (Build Options): List more m68k's.
|