diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-09-13 13:59:20 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-09-13 13:59:20 +0000 |
commit | a530ebc2df8bcbf1e3397092d06525a141511329 (patch) | |
tree | fc1c1fbc5cd010d2dc73e498cbf9d3010a05fc4e /src/mpfr.h | |
parent | e3f9fb9f689f7556bfcfa90a78ccd5c4f797a360 (diff) | |
download | mpfr-a530ebc2df8bcbf1e3397092d06525a141511329.tar.gz |
New mpfr_rootn_ui function; mpfr_root deprecated.
* src/root.c: mpfr_rootn_ui is now the main code, and mpfr_root calls
mpfr_rootn_ui.
* src/mpfr.h: added mpfr_rootn_ui prototype; marked mpfr_root as
deprecated.
* Added tests/trootn_ui.c (includes troot.c).
* tests/troot.c: made it usable (via #include) by the new trootn_ui.c
test.
* tests/Makefile.am: added trootn_ui; at the same time, corrected the
order of the test programs (lexicographic, with exceptions).
* NEWS, TODO, doc/mpfr.texi: update.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11741 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr.h')
-rw-r--r-- | src/mpfr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mpfr.h b/src/mpfr.h index 421e53de1..95b0724e2 100644 --- a/src/mpfr.h +++ b/src/mpfr.h @@ -669,8 +669,11 @@ __MPFR_DECLSPEC int mpfr_hypot (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t); __MPFR_DECLSPEC int mpfr_erf (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t); __MPFR_DECLSPEC int mpfr_erfc (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t); __MPFR_DECLSPEC int mpfr_cbrt (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t); +MPFR_DEPRECATED __MPFR_DECLSPEC int mpfr_root (mpfr_ptr, mpfr_srcptr, unsigned long, mpfr_rnd_t); +__MPFR_DECLSPEC int mpfr_rootn_ui (mpfr_ptr, mpfr_srcptr, unsigned long, + mpfr_rnd_t); __MPFR_DECLSPEC int mpfr_gamma (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t); __MPFR_DECLSPEC int mpfr_gamma_inc (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t); |