head 1.5;
access;
symbols
pkgsrc-2020Q1:1.5.0.16
pkgsrc-2020Q1-base:1.5
pkgsrc-2019Q4:1.5.0.18
pkgsrc-2019Q4-base:1.5
pkgsrc-2019Q3:1.5.0.14
pkgsrc-2019Q3-base:1.5
pkgsrc-2019Q2:1.5.0.12
pkgsrc-2019Q2-base:1.5
pkgsrc-2019Q1:1.5.0.10
pkgsrc-2019Q1-base:1.5
pkgsrc-2018Q4:1.5.0.8
pkgsrc-2018Q4-base:1.5
pkgsrc-2018Q3:1.5.0.6
pkgsrc-2018Q3-base:1.5
pkgsrc-2018Q2:1.5.0.4
pkgsrc-2018Q2-base:1.5
pkgsrc-2018Q1:1.5.0.2
pkgsrc-2018Q1-base:1.5
pkgsrc-2017Q4:1.4.0.62
pkgsrc-2017Q4-base:1.4
pkgsrc-2017Q3:1.4.0.60
pkgsrc-2017Q3-base:1.4
pkgsrc-2017Q2:1.4.0.56
pkgsrc-2017Q2-base:1.4
pkgsrc-2017Q1:1.4.0.54
pkgsrc-2017Q1-base:1.4
pkgsrc-2016Q4:1.4.0.52
pkgsrc-2016Q4-base:1.4
pkgsrc-2016Q3:1.4.0.50
pkgsrc-2016Q3-base:1.4
pkgsrc-2016Q2:1.4.0.48
pkgsrc-2016Q2-base:1.4
pkgsrc-2016Q1:1.4.0.46
pkgsrc-2016Q1-base:1.4
pkgsrc-2015Q4:1.4.0.44
pkgsrc-2015Q4-base:1.4
pkgsrc-2015Q3:1.4.0.42
pkgsrc-2015Q3-base:1.4
pkgsrc-2015Q2:1.4.0.40
pkgsrc-2015Q2-base:1.4
pkgsrc-2015Q1:1.4.0.38
pkgsrc-2015Q1-base:1.4
pkgsrc-2014Q4:1.4.0.36
pkgsrc-2014Q4-base:1.4
pkgsrc-2014Q3:1.4.0.34
pkgsrc-2014Q3-base:1.4
pkgsrc-2014Q2:1.4.0.32
pkgsrc-2014Q2-base:1.4
pkgsrc-2014Q1:1.4.0.30
pkgsrc-2014Q1-base:1.4
pkgsrc-2013Q4:1.4.0.28
pkgsrc-2013Q4-base:1.4
pkgsrc-2013Q3:1.4.0.26
pkgsrc-2013Q3-base:1.4
pkgsrc-2013Q2:1.4.0.24
pkgsrc-2013Q2-base:1.4
pkgsrc-2013Q1:1.4.0.22
pkgsrc-2013Q1-base:1.4
pkgsrc-2012Q4:1.4.0.20
pkgsrc-2012Q4-base:1.4
pkgsrc-2012Q3:1.4.0.18
pkgsrc-2012Q3-base:1.4
pkgsrc-2012Q2:1.4.0.16
pkgsrc-2012Q2-base:1.4
pkgsrc-2012Q1:1.4.0.14
pkgsrc-2012Q1-base:1.4
pkgsrc-2011Q4:1.4.0.12
pkgsrc-2011Q4-base:1.4
pkgsrc-2011Q3:1.4.0.10
pkgsrc-2011Q3-base:1.4
pkgsrc-2011Q2:1.4.0.8
pkgsrc-2011Q2-base:1.4
pkgsrc-2011Q1:1.4.0.6
pkgsrc-2011Q1-base:1.4
pkgsrc-2010Q4:1.4.0.4
pkgsrc-2010Q4-base:1.4
pkgsrc-2010Q3:1.4.0.2
pkgsrc-2010Q3-base:1.4
pkgsrc-2010Q2:1.3.0.6
pkgsrc-2010Q2-base:1.3
pkgsrc-2010Q1:1.3.0.4
pkgsrc-2010Q1-base:1.3
pkgsrc-2009Q4:1.3.0.2
pkgsrc-2009Q4-base:1.3
pkgsrc-2009Q3:1.2.0.34
pkgsrc-2009Q3-base:1.2
pkgsrc-2009Q2:1.2.0.32
pkgsrc-2009Q2-base:1.2
pkgsrc-2009Q1:1.2.0.30
pkgsrc-2009Q1-base:1.2
pkgsrc-2008Q4:1.2.0.28
pkgsrc-2008Q4-base:1.2
pkgsrc-2008Q3:1.2.0.26
pkgsrc-2008Q3-base:1.2
cube-native-xorg:1.2.0.24
cube-native-xorg-base:1.2
pkgsrc-2008Q2:1.2.0.22
pkgsrc-2008Q2-base:1.2
cwrapper:1.2.0.20
pkgsrc-2008Q1:1.2.0.18
pkgsrc-2008Q1-base:1.2
pkgsrc-2007Q4:1.2.0.16
pkgsrc-2007Q4-base:1.2
pkgsrc-2007Q3:1.2.0.14
pkgsrc-2007Q3-base:1.2
pkgsrc-2007Q2:1.2.0.12
pkgsrc-2007Q2-base:1.2
pkgsrc-2007Q1:1.2.0.10
pkgsrc-2007Q1-base:1.2
pkgsrc-2006Q4:1.2.0.8
pkgsrc-2006Q4-base:1.2
pkgsrc-2006Q3:1.2.0.6
pkgsrc-2006Q3-base:1.2
pkgsrc-2006Q2:1.2.0.4
pkgsrc-2006Q2-base:1.2
pkgsrc-2006Q1:1.2.0.2
pkgsrc-2006Q1-base:1.2
pkgsrc-2005Q4:1.1.1.1.0.14
pkgsrc-2005Q4-base:1.1.1.1
pkgsrc-2005Q3:1.1.1.1.0.12
pkgsrc-2005Q3-base:1.1.1.1
pkgsrc-2005Q2:1.1.1.1.0.10
pkgsrc-2005Q2-base:1.1.1.1
pkgsrc-2005Q1:1.1.1.1.0.8
pkgsrc-2005Q1-base:1.1.1.1
pkgsrc-2004Q4:1.1.1.1.0.6
pkgsrc-2004Q4-base:1.1.1.1
pkgsrc-2004Q3:1.1.1.1.0.4
pkgsrc-2004Q3-base:1.1.1.1
pkgsrc-2004Q2:1.1.1.1.0.2
pkgsrc-2004Q2-base:1.1.1.1
pkgsrc-base:1.1.1.1
TNF:1.1.1;
locks; strict;
comment @# @;
1.5
date 2018.01.28.16.18.23; author wiz; state Exp;
branches;
next 1.4;
commitid PQXZRLwiVLwh0FoA;
1.4
date 2010.07.15.20.30.40; author asau; state Exp;
branches;
next 1.3;
1.3
date 2009.12.15.12.35.57; author wiz; state Exp;
branches;
next 1.2;
1.2
date 2006.03.02.19.09.39; author drochner; state Exp;
branches;
next 1.1;
1.1
date 2004.06.05.22.11.38; author rh; state Exp;
branches
1.1.1.1;
next ;
1.1.1.1
date 2004.06.05.22.11.38; author rh; state Exp;
branches;
next ;
desc
@@
1.5
log
@mpfr: update to 4.0.0.
Changes from versions 3.1.* to version 4.0.0:
- The "dinde aux marrons" release.
- MPFR now depends on GMP 5.0+ instead of 4.1+.
- API change:
Applications that call GMP's mp_set_memory_functions function to change
the allocators must first call the new function mpfr_mp_memory_cleanup
in all threads where MPFR is potentially used; this new function is
currently equivalent to mpfr_free_cache.
The reason is that the way memory allocation is done by MPFR has changed
(again), so that the current GMP allocators are used (since for some
applications, the old allocators may become invalid).
Note: Freeing the caches like this might have a performance impact on some
particular applications; if this is an issue, this could be handled for a
future MPFR version.
- Mini-gmp support via the --enable-mini-gmp configure option (experimental).
- The minimum precision MPFR_PREC_MIN is now 1, with rounding defined as
in the errata of IEEE 754-2008 and in the following IEEE 754 revision
(ties rounded away from zero).
- Shared caches for multithreaded applications.
New function mpfr_free_cache2.
- Partial support of MPFR_RNDF (faithful rounding).
- New functions: mpfr_fpif_export and mpfr_fpif_import to export and import
numbers in a floating-point interchange format, independent both on the
number of bits per word and on the endianness.
- New function mpfr_fmodquo to return the low bits of the quotient
corresponding to mpfr_fmod.
- New functions mpfr_flags_clear, mpfr_flags_set, mpfr_flags_test,
mpfr_flags_save and mpfr_flags_restore to operate on groups of flags.
- New functions mpfr_set_float128 and mpfr_get_float128 to convert from/to
the __float128 type (requires --enable-float128 and compiler support).
- New functions mpfr_buildopt_float128_p and mpfr_buildopt_sharedcache_p.
- New functions mpfr_rint_roundeven and mpfr_roundeven, completing the
other similar round-to-integer functions for rounding to nearest with
the even-rounding rule.
- New macro mpfr_round_nearest_away to add partial emulation of the
rounding to nearest-away (as defined in IEEE 754-2008).
- New functions mpfr_nrandom and mpfr_erandom to generate random numbers
following normal and exponential distributions respectively.
- New functions mpfr_fmma and mpfr_fmms to compute a*b+c*d and a*b-c*d.
- New function mpfr_rootn_ui, similar to mpfr_root, but agreeing with the
rootn function of the IEEE 754-2008 standard.
- New functions mpfr_log_ui to compute the logarithm of an integer,
mpfr_gamma_inc for the incomplete Gamma function.
- New function mpfr_beta for the Beta function (incomplete, experimental).
- New function mpfr_get_q to convert a floating-point number into rational.
- The mpfr_dump function is now described in the manual; its output format
has slightly changed.
- The mpfr_eint function now returns the value of the E1/eint1 function
for negative argument.
- The behavior of the mpfr_set_exp function changed, as it could easily
yield undefined behavior in some cases (this modifies both the API and
the ABI).
- In function mpfr_urandom, the next random state no longer depends on the
current exponent range and the rounding mode. The exceptions due to the
rounding of the random number are now correctly generated, following the
uniform distribution.
- Functions mpfr_grandom and mpfr_root are deprecated and will be removed
in a future release.
- Complete rewrite of function mpfr_sum, which now works in all cases (the
old one could take all the memory and/or crash with inputs of different
magnitudes in case of huge cancellation or table maker's dilemma). The
sign of an exact zero result is now specified, and the return value is
now the usual ternary value. Note that the position of "const" in the
mpfr_sum prototype has been fixed (the manual was correct); user code
should not be affected.
- Old, deprecated macros mpfr_add_one_ulp and mpfr_sub_one_ulp removed.
The mpfr_next* functions should be used instead.
- Internally, improved caching: a minimum of 10% increase of the precision
is guaranteed to avoid too many recomputations.
- Added internal small-precision mpz_t pool, which aims to avoid the
overhead of memory allocation, in particular.
New function mpfr_free_pool.
- Added configure option --enable-assert=none to avoid checking any assertion.
- The --enable-decimal-float configure option no longer requires
--with-gmp-build, and support for decimal floats is now automatically
detected by default (similarly for support for __float128).
- Updated tuning parameters.
- Better support for Automake 1.13+ (now used to generate the tarball).
- Dropped K&R C compatibility.
- Improved MPFR manual.
- New MPFRbench program (see the tools/bench directory).
- Major speedup in mpfr_add, mpfr_sub, mpfr_mul, mpfr_div and mpfr_sqrt when
all operands have the same precision and this precision is less than twice
the number of bits per word, e.g., less than 128 on a 64-bit computer.
- Speedup by a factor of almost 2 in the double <--> mpfr conversions
(mpfr_set_d and mpfr_get_d).
- Speedup in mpfr_log1p and mpfr_atanh for small arguments.
- Speedup in the mpfr_const_euler function (contributed by Fredrik Johansson),
in the computation of Bernoulli numbers (used in mpfr_gamma, mpfr_li2,
mpfr_digamma, mpfr_lngamma and mpfr_lgamma), in mpfr_div, in mpfr_fma
and mpfr_fms.
- Test coverage: 96.3% lines of code.
- Bug fixes. In particular: a speed improvement when the --enable-assert
or --enable-assert=full configure option is used with GCC; mpfr_get_str
now sets the NaN flag on NaN input and the inexact flag when the conversion
is inexact. For a full list, see http://www.mpfr.org/mpfr-3.1.6/#fixed
and the same section for any previous 3.1.x version (follow the links
in the "Changes..." sections).
- Microsoft Windows: Added support for thread-safe DLL (shared library).
Tested with MinGW, ICC and MSVC.
- Limited pkg-config support.
- Autotools: Under Linux, make sure that the old dtags (when supported)
are used if LD_LIBRARY_PATH is defined; otherwise "make check" would
check an installed, compatible MPFR library found in LD_LIBRARY_PATH
instead of the one that has been built with "make".
- New: optional "make check-gmp-symbols", mainly for binary distributions,
to check that MPFR does not use GMP internal symbols (experimental).
@
text
@@@comment $NetBSD$
include/mpf2mpfr.h
include/mpfr.h
info/mpfr.info
lib/libmpfr.la
lib/pkgconfig/mpfr.pc
share/doc/mpfr/AUTHORS
share/doc/mpfr/BUGS
share/doc/mpfr/COPYING
share/doc/mpfr/COPYING.LESSER
share/doc/mpfr/FAQ.html
share/doc/mpfr/NEWS
share/doc/mpfr/TODO
share/doc/mpfr/examples/ReadMe
share/doc/mpfr/examples/can_round.c
share/doc/mpfr/examples/divworst.c
share/doc/mpfr/examples/rndo-add.c
share/doc/mpfr/examples/sample.c
share/doc/mpfr/examples/version.c
@
1.4
log
@Update MPFR to version 3.0.0.
Contributed by Stathis Kamperis on IRC.
Changes from versions 2.4.* to version 3.0.0:
- The "boudin aux pommes" release.
- MPFR 3.0.0 is binary incompatible with previous versions but (almost)
API compatible. More precisely the obsolete functions mpfr_random
and mpfr_random2 have been removed, the meaning of the return type
of the function mpfr_get_f has changed, and the return type of the
function mpfr_get_z is now int instead of void. In practice, this
should not break any existing code.
- MPFR is now distributed under the GNU Lesser General Public License
version 3 or later (LGPL v3+).
- Rounding modes GMP_RNDx are now MPFR_RNDx (GMP_RNDx kept for
compatibility).
- A new rounding mode (MPFR_RNDA) is available to round away from zero.
- The rounding mode type is now mpfr_rnd_t (as in previous versions,
both mpfr_rnd_t and mp_rnd_t are accepted, but mp_rnd_t may be
removed in the future).
- The precision type is now mpfr_prec_t (as in previous versions, both
mpfr_prec_t and mp_prec_t are accepted, but mp_prec_t may be removed
in the future) and it is now signed (it was unsigned in MPFR 2.*, but
this was not documented). In practice, this change should not affect
existing code that assumed nothing on the precision type.
- MPFR now has its own exponent type mpfr_exp_t, which is currently
the same as GMP's mp_exp_t.
- Functions mpfr_random and mpfr_random2 have been removed.
- mpfr_get_f and mpfr_get_z now return a ternary value.
- mpfr_strtofr now accepts bases from 37 to 62.
- mpfr_custom_get_mantissa was renamed to mpfr_custom_get_significand
(mpfr_custom_get_mantissa is still available via a #define).
- Functions mpfr_get_si, mpfr_get_ui, mpfr_get_sj, mpfr_get_uj,
mpfr_get_z and mpfr_get_z_2exp no longer have cases with undefined
behavior; in these cases, the behavior is now specified, and in
particular, the erange flag is set.
- New functions mpfr_buildopt_tls_p and mpfr_buildopt_decimal_p giving
information about options used at MPFR build time.
- New function mpfr_regular_p.
- New function mpfr_set_zero.
- New function mpfr_digamma.
- New function mpfr_ai (incomplete, experimental).
- New functions mpfr_set_flt and mpfr_get_flt to convert from/to the
float type.
- New function mpfr_urandom.
- New function mpfr_set_z_2exp (companion to mpfr_get_z_2exp, which
was renamed from mpfr_get_z_exp in previous versions).
- Speed improvement for large operands in the trigonometric functions
(mpfr_sin, mpfr_cos, mpfr_tan, mpfr_sin_cos): speedup of about 2.5
for 10^5 digits, of about 5 for 10^6 digits.
- Speed improvement for large operands of the inverse trigonometric
functions (arcsin, arccos, arctan): about 2 for 10^3 digits, up to
2.7 for 10^6 digits.
- Some documentation files are installed in $docdir.
- The detection of a GMP build directory (more precisely, the internal
header files of GMP) was previously done separately from the use of
the --with-gmp-build configure option. This was not consistent with
the documentation and with other parts of the configure script. So,
as of MPFR 3.0.0, the internal header files of GMP are now used if
and only if the --with-gmp-build configure option is given.
- The configure script recognizes some extra "long double" formats
(double big endian, double little endian, double-double big endian).
- MPFR manual: added "API Compatibility" section.
- Test coverage: 97.1% lines of code.
- Bug fixes.
@
text
@d6 1
d15 1
@
1.3
log
@Update to 2.4.2:
Changes from version 2.4.1 to version 2.4.2:
- Security fix in formatted output functions (buffer overflow).
- Formatted output functions: 6 is now the default value for
empty precision field with %Rf.
- Better portability of configure script.
- Detection of intmax_t and uintmax_t types.
- Improved documentation: mpfr_get_z_exp, mpfr_strtofr, mpfr_get_str and
formatted output functions.
- Improved message in case of assertion failure.
- Test coverage: 97.0% lines of code.
- Updated tcmp_ld test to really test the long double.
- Some documentation files are installed in $docdir.
- Removed mpfr_init_cache (unused and undocumented function).
- Fixed the way $CC / $CFLAGS are got from gmp.h (__GMP_CC / __GMP_CFLAGS).
- Bug fixes.
- Also note that GCC 4.4.0 (only this obsolete version) does not build
MPFR 2.4.2 correctly; this is detected by "make check" (failures in
tget_z and tpow_all).
@
text
@d9 1
a9 1
share/doc/mpfr/COPYING.LIB
d17 1
@
1.2
log
@update to 2.2.0
changes:
-Bug fixes
-New functions mpfr_set_overflow, mpfr_set_underflow, mpfr_set_inexflag,
mpfr_set_erangeflag, mpfr_set_nanflag, mpfr_erfc, mpfr_atan2, mpfr_pow_z,
mpfr_subnormalize, mpfr_const_catalan, mpfr_sec, mpfr_csc, mpfr_cot,
mpfr_root, mpfr_eint, mpfr_get_f, mpfr_sech, mpfr_csch, mpfr_coth,
mpfr_lngamma
-New macro: MPFR_VERSION_STRING
-The exported MPFR variables have been removed from mpfr.h
-cleanup, speed improvement...
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/05 22:11:38 rh Exp $
d6 11
@
1.1
log
@Initial revision
@
text
@d1 1
a1 1
@@comment $NetBSD$
d5 1
a5 1
lib/libmpfr.a
@
1.1.1.1
log
@Initial import of mpfr-2.0.3, a library for multiple-precision
floating-point computations
@
text
@@