* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=46
The release features the new functions mpc_sum and mpc_dot and
several bug fixes, in particular to make functions more robust
if the user reduces the exponent range. It also contains the tool
mpcheck for easier comparison with computations by the C library
on standard precision floating-point numbers.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=42
- Compatible with mpfr 4.0.0, obsoletes mpc-1.0.3-addsubulp.diff
and mpc-1.0.3-fmma.diff.
- New functions mpc_cmp_abs and mpc_rootofunity
- 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
- Fixed a bug in mpc_atan(0,y) with |y| near 1
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=37
- License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
for documentation
- Functions renamed:
mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
- 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
- Skips version 0.9:
- 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
- mpc_exp: close to infinite loop for argument close to 0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=24