From a4fbffcbea0645a50ce19c62b91c9e2400a8ac1e Mon Sep 17 00:00:00 2001 From: zimmerma Date: Mon, 14 Dec 2020 16:14:44 +0000 Subject: [NEWS] added mpfr_sinu [doc/mpfr.texi] improve documentation of mpfr_sinu, and say it is experimental git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14182 280ebfd0-de03-0410-8827-d642c229c3f4 --- NEWS | 1 + doc/mpfr.texi | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/NEWS b/NEWS index 4b44201cb..113f858a9 100644 --- a/NEWS +++ b/NEWS @@ -22,6 +22,7 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., Changes from versions 4.1.* to version 4.2.0: - The "" release. +- New function mpfr_sinu. - Bug fixes. In particular, for the formatted output functions (mpfr_printf, etc.), the case where the precision consists only of a period has been fixed diff --git a/doc/mpfr.texi b/doc/mpfr.texi index fb6f34734..80fabbc89 100644 --- a/doc/mpfr.texi +++ b/doc/mpfr.texi @@ -2275,6 +2275,12 @@ tangent of @var{op}, rounded in the direction @var{rnd}. @deftypefun int mpfr_sinu (mpfr_t @var{rop}, mpfr_t @var{op}, unsigned long @var{u}, mpfr_rnd_t @var{rnd}) Set @var{rop} to the sine of @var{op} multiplied by @m{2\pi,2*Pi} and divided by @var{u}. Thus for @code{u=360} one gets the sine for @var{x} in degrees. +When @var{op} multiplied by 2 and divided by @var{u} is an integer, the +result is 0 with the same sign of @var{op}, following IEEE 754-2019, so that +the function is odd. + +Note: this function is experimental and its interface might change in future +versions. @end deftypefun @deftypefun int mpfr_sin_cos (mpfr_t @var{sop}, mpfr_t @var{cop}, mpfr_t @var{op}, mpfr_rnd_t @var{rnd}) @@ -4233,6 +4239,8 @@ use @code{mpfr_get_z_exp}. @item @code{mpfr_sinh_cosh} in MPFR@tie{}2.4. +@item @code{mpfr_sinu} in MPFR@tie{}4.2.0 (experimental). + @item @code{mpfr_snprintf} and @code{mpfr_sprintf} in MPFR@tie{}2.4. @item @code{mpfr_sub_d} in MPFR@tie{}2.4. -- cgit v1.2.1