Home
last modified time | relevance | path

Searched refs:GMP (Results 1 – 25 of 129) sorted by relevance

123456

/netbsd-src/external/lgpl3/gmp/dist/demos/perl/
H A Dtest2.pl36 use GMP::Mpz qw(:constants);
41 use GMP::Mpz qw(:noconstants);
43 use GMP::Mpq qw(:constants);
48 use GMP::Mpq qw(:noconstants);
50 use GMP::Mpf qw(:constants);
55 use GMP::Mpf qw(:noconstants);
60 use GMP::Mpz qw(:constants);
63 use GMP::Mpz qw(:noconstants);
H A Dsample.pl36 use GMP;
37 print "using GMP module $GMP::VERSION and GMP library ",GMP::version(),"\n";
40 use GMP::Mpz qw(:all);
45 use GMP::Mpq qw(:constants);
47 use GMP::Mpq qw(:noconstants);
50 use GMP::Mpf qw(mpf);
H A DGMP.xs939 MODULE = GMP PACKAGE = GMP
1432 MODULE = GMP PACKAGE = GMP::Mpz
1437 GMP::Mpz::new = 1
1553 GMP::Mpz::overload_sub = 1
1554 GMP::Mpz::overload_mul = 2
1555 GMP::Mpz::overload_div = 3
1556 GMP::Mpz::overload_rem = 4
1557 GMP::Mpz::overload_and = 5
1558 GMP::Mpz::overload_ior = 6
1559 GMP::Mpz::overload_xor = 7
[all …]
H A DINSTALL33 GMP PERL MODULE INSTALLATION
36 This module can be compiled within the GMP source directory or moved
37 elsewhere and compiled. An installed GMP can be used, or a specified
38 GMP build tree. Both static and shared GMP builds will work.
40 The simplest case is when GMP has been installed to a standard system
46 If not yet installed then the top-level GMP build directory must be
62 Documentation is provided in pod format in GMP.pm, and will have been
65 man -l blib/man3/GMP.3pm
67 man -M`pwd`/blib GMP
82 Once installed, programs using the GMP module become simply
[all …]
H A Dtest.pl55 use GMP qw(:all);
56 use GMP::Mpz qw(:all);
57 use GMP::Mpq qw(:all);
58 use GMP::Mpf qw(:all);
59 use GMP::Rand qw(:all);
61 use GMP::Mpz qw(:constants);
62 use GMP::Mpz qw(:noconstants);
63 use GMP::Mpq qw(:constants);
64 use GMP::Mpq qw(:noconstants);
65 use GMP::Mpf qw(:constants);
[all …]
H A DGMP.pm39 package GMP; package
55 bootstrap GMP $VERSION;
124 print $h GMP::sprintf(@_);
126 print STDOUT GMP::sprintf(@_);
/netbsd-src/external/lgpl3/mpfr/dist/
H A DINSTALL31 0. You first need to install GMP. See <https://gmplib.org/>.
32 MPFR requires GMP version 5.0.0 or later.
91 This will check that MPFR does not use GMP internal symbols, which
92 could yield failures in case of GMP upgrade without a MPFR rebuild.
96 allowed GMP internals with configure options (see below).
113 Remember that if you have several MPFR (or GMP) versions installed
149 Building MPFR with internal GMP header files
152 MPFR built with internal GMP header files is a bit faster, so you may want
157 where GMPBUILD is the GMP build directory. The needed header files are:
159 may be located either in the GMP source directory or in the GMP build
[all …]
H A Dconfigure.ac93 dnl There is still some problem with GMP's HAVE_CONFIG
107 [ --with-gmp-include=DIR GMP include directory ],
112 [ --with-gmp-lib=DIR GMP lib directory ], [
119 [ --with-gmp=DIR GMP install directory ], [
131 [ --with-gmp-build=DIR GMP build directory (please read INSTALL file)],
158 [ --with-mini-gmp=DIR use mini-gmp (sources in DIR) instead of GMP
181 [ --enable-gmp-internals enable use of GMP undocumented functions [[default=no]]],
183 yes) AC_DEFINE([WANT_GMP_INTERNALS],1,[Want GMP internals]) ;;
441 dnl However, if GMP chooses a non-default mode (a.k.a. ABI), this test may
442 dnl fail. The reason is that GMP provides GMP_CC and GMP_CFLAGS to get the
[all …]
H A DNEWS27 - Configure tests: replaced the test of the link with GMP, in order to
71 follow mpfr_get_str and GMP's mpf_out_str functions (these cases gave an
83 follow the historical behavior and GMP's mpf_get_str function.
86 GMP reserved prefix (experimental).
97 - MPFR now depends on GMP 5.0+ instead of 4.1+.
99 Applications that call GMP's mp_set_memory_functions function to change
104 (again), so that the current GMP allocators are used (since for some
201 to check that MPFR does not use GMP internal symbols (experimental).
210 - New --enable-gmp-internals configure option to use GMP's undocumented
215 since the GMP random generator does not depend itself on the word size,
[all …]
/netbsd-src/external/lgpl3/gmp/dist/mini-gmp/
H A DREADME30 This is "mini-gmp", a small implementation of a subset of GMP's mpn,
36 mini-gmp to get a GMP-compatible interface with small footprint. One
37 can also arrange for optional linking with the real GMP library, using
38 mini-gmp as a fallback when for some reason GMP is not available, or
41 The supported GMP subset of the mpn and mpz interfaces is declared in
43 functions are fully compatible with the corresponding GMP functions,
44 as specified in the GMP manual, with a few exceptions:
56 than the real GMP library, for numbers of size up to a few hundred
58 it will be many orders of magnitude slower than GMP for very large
61 The supported GMP subset of the mpq layer is declared in mini-mpq.h,
[all …]
/netbsd-src/external/lgpl3/gmp/dist/
H A DNEWS6 Changes between GMP version 6.2.0 and 6.2.1
13 * A bug in longlong.h for aarch64 sub_ddmmss, not affecting GMP, was healed.
31 Changes between GMP version 6.1.* and 6.2.0
52 * Mini-GMP: new functions mpz_2fac_ui and mpz_mfac_uiui.
54 * Mini-GMP: mpz_sizeinbase, mpz_get_str, and mpz_set_str now support bases up
57 * Mini-GMP: added support for the mpq_t layer.
93 Changes between GMP version 6.1.1 and 6.1.2
96 * Mini-GMP: Fixed a division bug, which on a machine with 64-bit
99 * Mini-GMP: Fix mpz_set_str crash on inputs with a large number of
110 * Mini-GMP: Updated to the latest development version, including
[all …]
H A DINSTALL44 Here are some brief instructions on how to install GMP. First you need to
51 If that fails, or you care about the performance of GMP, you need to read the
52 full instructions in the chapter "Installing GMP" in the manual.
54 You should not skip the "make check" part; the risk that the GMP sources are
67 If you are new to GMP, it is a good idea you at least read the chapter "GMP
70 Some known build problems are noted in the "Installing GMP" chapter of
73 The GMP web site is located here: https://gmplib.org/.
/netbsd-src/external/lgpl3/mpc/dist/
H A Dconfigure.ac60 [GMP include directory])],
64 [GMP lib directory])],
68 [GMP install directory])],
118 # Check GMP Header
160 # Check for a recent GMP
161 # We only guarantee that with a *functional* and recent enough GMP version,
162 # MPC will compile; we do not guarantee that GMP will compile.
163 # In particular fat builds are broken in GMP 5.0.0
166 AC_MSG_CHECKING(for recent GMP)
172 # error "Minimal GMP version is 5.0.0"
[all …]
H A DREADME20 0. You first need to install GMP, the GNU Multiprecision Arithmetic Library,
22 GNU MPC requires GMP version 5.0.0 or later
32 This assumes that GMP and GNU MPFR are installed in a directory searched
78 If GMP was built with the 64-bit ABI, before building and testing GNU MPC,
83 V8.0 for AIX, version: 08.00.0000.0021, GMP 4.2.4 and GNU MPFR 2.4.1.
/netbsd-src/external/lgpl3/gmp/
H A DREADME3 GMP in NetBSD. We need GMP for GCC >= 4.2.
6 Building GMP without configure - how to port GMP build to a new platform.
8 The GMP build doesn't map very well to normal make. The ./configure phase
13 There is a mostly-working "mknative" for GMP now. If this fails, see the
17 GMP port is currently not working at all.
/netbsd-src/external/lgpl3/gmp/dist/demos/perl/GMP/
H A DMpf.pm32 package GMP::Mpf;
34 require GMP;
97 GMP::sprintf_internal ($fmt, $_[0]);
H A DRand.pm32 package GMP::Rand;
34 require GMP;
H A DMpq.pm32 package GMP::Mpq;
34 require GMP;
/netbsd-src/external/lgpl3/mpfr/dist/doc/
H A Dmini-gmp36 This was tested with revision 39ac9e4 and GMP 6.2.0 on x86_64 GNU/Linux:
52 Following the idea of Micro-GMP [1], the GMP developers have adapted mini-gmp
53 so that it can be used with a reduced limb size. For that, you need GMP 6.2.0
65 This was tested with revision 39ac9e4 and GMP 6.2.0 on x86_64 GNU/Linux:
/netbsd-src/tools/gcc/
H A Dlgpl3.mk8 GMP= ${NETBSDSRCDIR}/external/lgpl3/gmp
12 GMPOBJ!= cd ${GMP}/lib/libgmp && ${PRINTOBJDIR}
16 GMPINC= ${GMP}/lib/libgmp/arch/${GMP_MACHINE_ARCH}
/netbsd-src/external/lgpl3/gmp/dist/demos/calc/
H A DREADME23 This is a simple program, meant only to show one way to use GMP with yacc
27 Within a GMP build tree, the generated Makefile can be used to build the
34 Elsewhere, once GMP has been installed, the program can be compiled with for
46 created by the GMP ./configure based on the --with-readline option. The
57 this up in the GMP build tree Makefile.
/netbsd-src/external/lgpl3/gmp/dist/doc/
H A Dgmp.info-141 * Copying:: GMP Copying Conditions (LGPL).
42 * Introduction to GMP:: Brief introduction to GNU MP.
43 * Installing GMP:: How to configure and compile the GMP library.
44 * GMP Basics:: What every GMP user should know.
53 * C++ Class Interface:: Class wrappers around GMP types.
55 * Language Bindings:: Using GMP from other languages.
66 File: gmp.info, Node: Copying, Next: Introduction to GMP, Prev: Top, Up: Top
107 demonstration programs and the GMP testsuite, are licensed under the
112 File: gmp.info, Node: Introduction to GMP, Next: Installing GMP, Prev: Copying, Up: Top
124 applications may need thousands or even millions of bits. GMP is
[all …]
H A Disa_abi_headache42 GMP is a very complex package to build since its speed is very
44 instructions, it is crucial that GMP is configured to use them.
52 GMP, the ABI must allow operations using the native 64-bit
61 The GMP 3.0.x approach was to compile using the ABI that gives the
63 options to the compiler when they compile their GMP applications.
65 advantage is that users don't unknowingly get bad GMP performance.
H A Dgmp.texi38 @c Notes discussing the present version number of GMP in relation to previous
48 @c particular notes concerning them, but not just for everything GMP
93 @author by Torbj@"orn Granlund and the GMP development team
125 * Copying:: GMP Copying Conditions (LGPL).
126 * Introduction to GMP:: Brief introduction to GNU MP.
127 * Installing GMP:: How to configure and compile the GMP library.
128 * GMP Basics:: What every GMP user should know.
137 * C++ Class Interface:: Class wrappers around GMP types.
139 * Language Bindings:: Using GMP from other languages.
434 @node Copying, Introduction to GMP, Top, Top
[all …]
/netbsd-src/external/lgpl3/mpfr/dist/tools/bench/
H A DREADME13 GMP : 6.0.0 MPFR : 3.2.0-dev
14 GMP compiler : gcc -std=gnu99
15 GMP flags : -O2 -pedantic -fomit-frame-pointer -m64 -mtune=core2 -march=core2

123456