summaryrefslogtreecommitdiff
path: root/gmp.texi
Commit message (Collapse)AuthorAgeFilesLines
* * gmp.texi (Introduction to GMP): Mention ABI and ISA section.Kevin Ryde2001-12-071-19/+36
| | | | | | | | | | | | (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.
* * gmp.texi (Known Build Problems): Update to gmp_randinit_lc_2exp_sizeKevin Ryde2001-12-031-17/+20
| | | | | | | | | | | | 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.
* Canonicalize swox.com and ftp.gnu.org URLs.tege2001-12-031-5/+5
|
* Phix tyop.tege2001-12-011-1/+1
|
* Fix docs for mpz_get_d_2exp an mpf_get_d_2exp.tege2001-11-291-2/+4
|
* * mpz/millerrabin.c: Mark for internal use only, for now.Kevin Ryde2001-11-281-11/+9
| | | | * gmp.texi (Number Theoretic Functions): Remove documentation.
* Document mpz_get_d_2exp and mpf_get_d_2exp.tege2001-11-281-0/+11
|
* More of:Kevin Ryde2001-11-261-8/+8
| | | | | | * mpz/init2.c, mpz/realloc2.c: New files. * gmp.texi (Initializing Integers): Add documentation, reword other parts.
* * gmp.texi (Useful Macros and Constants): Add gmp_version, add @findexKevin Ryde2001-11-261-0/+7
| | | | for mp_bits_per_limb.
* Update _mpz_realloc documentation.tege2001-11-261-3/+2
|
* * gmp.texi (Build Options, Notes for Package Builds): Note libgmpxxKevin Ryde2001-11-241-11/+27
| | | | depends on libgmp from same GMP version.
* * mpz/init2.c, mpz/realloc2.c: New files.Kevin Ryde2001-11-241-36/+56
| | | | | * gmp.texi (Efficiency): Mention these instead of _mpz_realloc. (Initializing Integers): Add documentation, reword other parts.
* * gmp.texi (Known Build Problems): Note an out of memory on DJGPP.Kevin Ryde2001-11-201-26/+32
| | | | | (Function Classes): Update function counts. Misc tweaks elsewhere.
* * configure.in (--enable-fft): Make this the default.Kevin Ryde2001-11-171-5/+4
| | | | * gmp.texi (Build Options): Update.
* * gmp.texi (Random State Initialization): Add gmp_randinit_default andKevin Ryde2001-11-171-71/+74
| | | | | | | | 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.
* * gmp.texi (Integer Exponentiation): mpz_powm supports negativeKevin Ryde2001-11-161-128/+375
| | | | | | | | | | | 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.
* *** empty log message ***tege2001-11-141-3/+3
|
* Fix a grammatical typo under mpz_gcd.Kevin Ryde2001-11-081-1/+1
|
* * gmp.texi (Known Build Problems): Add note on test programs withKevin Ryde2001-10-271-0/+8
| | | | Windows DLLs.
* * gmp.texi (maybepagebreak): New macro, use it in a few places.Kevin Ryde2001-10-261-72/+743
| | | | | | | | | | | | | | | | | | | (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.
* * gmp.texi (Debugging): Add mpatrol.Kevin Ryde2001-10-161-19/+32
| | | | | | | | | (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.
* * gmp.texi (Introduction to GMP): Add pentium 4 to optimized CPUs.Kevin Ryde2001-10-091-39/+33
| | | | | | | | (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.
* * gmp.texi (Build Options): Add --enable-cxx.Kevin Ryde2001-10-041-24/+110
| | | | | | | | | | | (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.
* * gmp.texi, Makefile.am, compat.c: Amend version 3.2 to 4.0.Kevin Ryde2001-10-011-2/+2
|
* * gmp.texi (Integer Logic and Bit Fiddling): Update mpz_hamdistKevin Ryde2001-09-081-20/+39
| | | | | | 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.
* * configure.in (m68k-*-*): Let m68k mean 68000, not 68020.Kevin Ryde2001-09-021-5/+4
| | | | * gmp.texi (Notes for Particular Systems): Update.
* Bit more of:Kevin Ryde2001-08-281-3/+4
| | | | * gmp.texi: Switch to GFDL.
* * gmp.texi: Switch to GFDL.Kevin Ryde2001-08-281-134/+123
| | | | | | | | | | | | | (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.
* * configure.in, acinclude.m4, Makefile.am, printf/Makefile.am,Kevin Ryde2001-08-171-99/+29
| | | | | | | | 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.
* * gmp.texi (Random Number Functions): Old rand functions no longer useKevin Ryde2001-07-281-33/+31
| | | | the C library.
* More of:Kevin Ryde2001-07-241-26/+51
| | | | * gmp.texi (Build Options): Add --enable-cxx.
* * gmp.texi (Build Options): Add --enable-cxx.Kevin Ryde2001-07-241-75/+323
| | | | | | | | | (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-h.in (mpq_cmp_si): Add prototype.Kevin Ryde2001-07-061-19/+19
| | | | | | * gmp.texi (Comparing Rationals): Add doco. And a few tweaks to the mpf intro.
* * gmp.texi (GMP Basics): Note the need for stdio.h to get FILEKevin Ryde2001-07-031-0/+12
| | | | prototypes.
* * gmp.texi (Build Options, Reentrancy): Updates for newKevin Ryde2001-07-011-168/+292
| | | | | | | | | | | | | --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.
* * gmp.texi (Introduction to GMP): Add IA-64.Kevin Ryde2001-06-121-12/+19
| | | | (Notes for Particular Systems): i386 means generic x86.
* * gmp.texi (Number Theoretic Functions): mpz_jacobi only defined for bKevin Ryde2001-06-101-32/+188
| | | | | | | | | 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.
* * configure.in (mips*-*-irix[6789]*): Make ABI=n32 the default, sameKevin Ryde2001-06-081-10/+11
| | | | | as in gmp 3.1. * gmp.texi (ABI and ISA): Update.
* * gmp.texi (Build Options): Misc tweaks.Kevin Ryde2001-06-071-63/+176
| | | | | | | | | (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.
* * gmp.texi (ABI and ISA, Reentrancy): Minor tweaksKevin Ryde2001-05-261-23/+394
| | | | | | | | (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.
* * gmp.texi (ge): Fix definition.Kevin Ryde2001-05-171-51/+116
| | | | | | | | | | | | (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.
* * gmp-h.in, gmp.texi, Makefile.am, mpz/Makefile.am, tests/mpz/t-pow.c:Kevin Ryde2001-05-131-1/+0
| | | | Remove mpz_si_pow_ui, pending full si support.
* * gmp.texi (Efficiency): Add mpz_addmul etc for mpz+=integer, addKevin Ryde2001-05-031-2/+51
| | | | | | | 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.
* Fix d=2^b in divisions (superscript @var doesn't work in tex).Kevin Ryde2001-04-301-2/+2
|
* * gmp.texi (Number Theoretic Functions): Add mpz_lcm_ui, document lcmKevin Ryde2001-04-301-6/+10
| | | | | | | now always positive. Also, de-emphasise si functions under efficiency, and use a formula d=2^b in the 2exp divisions.
* Expunge mpz_divexact_siKevin Ryde2001-04-251-1/+0
|
* * gmp-h.in (mpz_cmp_d, mpz_cmpabs_d, mpf_cmp_d, mpf_get_default_prec):Kevin Ryde2001-04-221-15/+19
| | | | | | | Add prototypes. * gmp.texi: Add documentation. (Actually mpf_cmp_d snuck though already.)
* * gmp.texi (Integer Division): Fix mpz_congruent_2exp_p "c" type.Kevin Ryde2001-04-201-7/+15
| | | | | | | (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.
* * gmp.texi (Compatibility with older versions): Note libmpKevin Ryde2001-04-041-0/+3
| | | | compatibility.
* Expunge m5200 part of:Kevin Ryde2001-04-031-1/+0
| | | | * gmp.texi (Build Options): List more m68k's.