diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-12-14 16:14:44 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-12-14 16:14:44 +0000 |
commit | a4fbffcbea0645a50ce19c62b91c9e2400a8ac1e (patch) | |
tree | d33841f15fd9be44c741de655901d7684fa89c4f | |
parent | 75641f69d54b92b61abb2dc9a572654362f40ccd (diff) | |
download | mpfr-a4fbffcbea0645a50ce19c62b91c9e2400a8ac1e.tar.gz |
[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
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | doc/mpfr.texi | 8 |
2 files changed, 9 insertions, 0 deletions
@@ -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. |