Up to [cvs.NetBSD.org] / pkgsrc / math / mpcomplex
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
mpcomplex: bump mpfr requirement
mpcomplex: update to 1.3.1. Fix pkglint, including renaming a patch. Changes in version 1.3.1, released in December 2022: - Bug fix: It is again possible to include mpc.h without including stdio.h. Changes in version 1.3.0 ("Ipomoea batatas"), released in December 2022: - New function: mpc_agm - New rounding modes "away from zero", indicated by the letter "A" and corresponding to MPFR_RNDA on the designated real or imaginary part. - New experimental ball arithmetic. - New experimental function: mpc_eta_fund - Bug fixes: - mpc_asin for asin(z) with small |Re(z)| and tiny |Im(z)| - mpc_pow_fr: sign of zero part of result when the base has up to sign the same real and imaginary part, and the exponent is an even positive integer - mpc_fma: the returned 'int' value was incorrect in some cases (indicating whether the rounded real/imaginary parts were smaller/equal/greater than the exact values), but the computed complex value was correct. - Remove the unmaintained Makefile.vc; build files for Visual Studio can be found at https://github.com/BrianGladman/mpc . Changes in version 1.2.1, released in October 2020: - Bug fixes: - Fix an incompatibility problem with GMP 6.0 and before. - Fix an intermediate overflow in asin. Changes in version 1.2.0 ("Hyacinthus orientalis"), released in August 2020: - Minimally required library version: MPFR 4.1.0 - New functions: mpc_sum, mpc_dot - Several functions are more robust with a reduced exponent range (for example corresponding to IEEE 754 binary formats) - New tool mpcheck.
Update to 1.1.0 * Fix build with math/mpfr-4.0.0 Changelog: Changes in version 1.1.0: - Minimally required library versions: GMP 5.0.0 and MPFR 3.0.0 - Fixed issues with MPFR 4.0.0 - New functions: mpc_cmp_abs, mpc_rootofunity - Improved speed for corner cases of mpc_asin, mpc_sin, see http://lists.gforge.inria.fr/pipermail/mpc-discuss/2013-December/001266.html - Rewrite of the testing framework - New mpcbench tool, used with "make bench" - Fixed handling of over- and underflows with directed rounding in the "other direction" for mpc_cos, mpc_sin, mpc_exp and mpc_pow, see http://lists.gforge.inria.fr/pipermail/mpc-discuss/2015-March/001336.html - Fixed a bug in mpc_atan(0,y) with |y| near 1, see http://lists.gforge.inria.fr/pipermail/mpc-discuss/2017-March/001404.html
recursive bump after mpfr shlib major bump
Convert all occurrences (353 by my count) of MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
Update to 1.0.3: Changes in version 1.0.3: - Fixed mpc_pow, see http://lists.gforge.inria.fr/pipermail/mpc-discuss/2014-October/001315.html - #18257: Switched to libtool 2.4.5.
Changes 1.0.2: - Fixed mpc_atan, mpc_atanh for (+-0, +-1), see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57994#c7 - Fixed mpc_log10 for purely imaginary argument, see http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-September/001208.html
Update mpcomplex to mpc 1.0.1 Note that tests might need the package installed. Changes in version 1.0.1: - Switched to automake 1.11.6, see https://lists.gnu.org/archive/html/automake/2012-07/msg00023.html - #14669: Fixed extraction of CC from gmp.h - Fixed case of intermediate zero real or imaginary part in mpc_fma, found by hydra with GMP_CHECK_RANDOMIZE=1346362345
"user-destdir" is default these days
math/mpcomplex: Update from version 0.9 to 1.0 Changes since version 0.9: - First release as a GNU package - License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections) for documentation - 100% of all lines are covered by tests - Functions renamed: mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui - 0^0, which returned (NaN,NaN) previously, now returns (1,+0) - Removed compatibility with K&R compilers, untestable due to lack of such compilers - New functions: mpc_log10, mpc_mul_2si, mpc_div_2si - Speed-ups: - mpc_fma - Bug fixes: - mpc_div and mpc_norm now return a value indicating the effective rounding direction, as the other functions - mpc_mul, mpc_sqr and mpc_norm now return correct results even if there are over- or underflows during the computation - mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has infinite part and equals output variable is corrected - mpc_fr_sub: Wrong return value for imaginary part is corrected
Explicitly depend on gmp>=4.3.2 and mpfr>=2.4.2.
Update to mpc-0.9 Prompted by Stathis Kamperis. Changes: * New functions + mpc_set_dc, mpc_set_ldc, mpc_get_dc, mpc_get_ldc for converting between mpc type variables and C variables of type double _Complex or long double _Complex + mpc_sin_cos, computing simultaneously the sine and cosine * Speed-ups + mpc_pow_si through binary exponentiation + mpc_pow_z when the exponent fits in a long + mpc_tan through the use of mpc_sin_cos * Bug fixes + trigonometric functions: infinite loop due to overflow for large arguments + exp: close to infinite loop for argument close to 0 + sqrt: close to infinite loop for argument close to 1 + add_si: replaced macro by function, since the macro evaluated the same expression twice * Logging feature for debugging ./configure --enable-logging #include "mpc-log.h" instead of #include "mpc.h" * Minimally required library versions: gmp 4.3.2, mpfr 2.4.2
Import MPC (multiprecision complex arithmetic library) version 0.8.2 as math/mpcomplex. Packaged by Marko Schuetz for pkgsrc-wip. MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as MPFR.
Initial revision