summaryrefslogtreecommitdiff
path: root/math/mpcomplex
AgeCommit message (Collapse)AuthorFilesLines
2013-07-08Split the extract phase into fetch and extract, to ensure that distfilesjperkin1-2/+8
can be fetched correctly, keeping in sync with devel/gmp inplace.mk
2013-04-08Remove "Trailing empty lines." and/or "Trailing white-space."rodent1-2/+1
2012-09-13Update mpcomplex to mpc 1.0.1asau2-7/+9
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
2012-09-11"user-destdir" is default these daysasau1-3/+1
2012-08-05math/mpcomplex: Update from version 0.9 to 1.0marino3-14/+16
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
2012-04-13Add inplace.mk to allow building this inside another package.hans1-0/+13
2011-10-13Work around a bug in SunOS complex.h to make this build with Suns gcc.hans2-1/+20
2011-09-14Explicitly depend on gmp>=4.3.2 and mpfr>=2.4.2.hans2-2/+8
2011-07-08allow to use gmp/mpfr/mpc which comes with the system (eg ondrochner1-0/+13
NetBSD-current with gcc45)
2011-03-09Update to mpc-0.9asau2-7/+7
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
2010-07-27Import MPC (multiprecision complex arithmetic library) version 0.8.2asau5-0/+48
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.