Commit graph

7 commits

Author SHA1 Message Date
Brendan Fabeny
8f648551d4 Ensure that libmissing functions can replace imprecise base system variants -- thanks
to kib for implementing the necessary rtld support
2013-11-13 01:38:47 +00:00
Gerald Pfeifer
3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #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.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . 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, which was 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.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Baptiste Daroussin
ce5e457020 Add NO_STAGE all over the place in preparation for the staging support (cat: math) 2013-09-20 20:55:04 +00:00
Brendan Fabeny
cb5d036e84 Update math/libmissing to 20130815, and adjust a dependent port 2013-08-15 22:13:42 +00:00
Brendan Fabeny
bec986a3e5 trim headers; switch to the new options format; fix builds after src r248751;
update math/lrng to 20130314, and switch it to a versioned DIST_SUBDIR
2013-03-28 19:25:12 +00:00
Brendan Fabeny
e5a01fd5cb simplify and correct precisions; use libm on architectures where long
doubles aren't wider than doubles; reduce the number of mpc/mpfr
variables in some functions; add (l)lrintl, remquol, logbl; minor
cleanup
2012-12-30 21:40:57 +00:00
Brendan Fabeny
0e190ec057 Add libmissing , standard math functions missing from the FreeBSD libm. 2012-12-20 19:38:12 +00:00