summaryrefslogtreecommitdiff
path: root/src/cosu.c
Commit message (Collapse)AuthorAgeFilesLines
* [src/{acosu.c,asinu.c,cosu.c,sinu.c,tanu.c}] Typos in comments.vlefevre2021-01-311-1/+1
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14281 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/{cosu.c,sinu.c,tanu.c}] Function logging: added missing u.vlefevre2021-01-291-1/+2
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14266 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/{cosu.c,sinu.c,tanu.c}] Range reduction: improved a test, renamedvlefevre2021-01-141-5/+14
| | | | | | | a variable (e to p, as this is more like a precision), and updated comments, making the code and comments similar for these 3 functions. git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14260 280ebfd0-de03-0410-8827-d642c229c3f4
* [src] Fixed typo in mpfr_printf format from MPFR_LOG_FUNC for severalvlefevre2021-01-141-2/+2
| | | | | | functions. git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14257 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/cosu.c] Fixed bug when the reduced argument is 0.vlefevre2021-01-141-0/+6
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14255 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/cosu.c] Fixed memory leak with very small reduced arguments.vlefevre2021-01-141-6/+11
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14253 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/{cosu.c,sinu.c}] Corrected the position of a comment.vlefevre2021-01-131-3/+3
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14249 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/cosu.c] Implemented range reduction for mpfr_cosu.vlefevre2021-01-131-12/+33
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14248 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/{cosu.c,sinu.c,tanu.c}] Changed MPFR_PREC to MPFR_GET_PREC.vlefevre2021-01-131-1/+1
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14238 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2021 withvlefevre2021-01-031-1/+1
| | | | | | | | perl -pi -e 's/ (\d{4}-)?(2020)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh. Removed 2020 from the example in the doc/README.dev file. git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14229 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/cosu.c] Avoid a possible integer overflow (triggered by the testsvlefevre2020-12-201-4/+18
| | | | | | with UBsan) from r14225. git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14226 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed initial precision in sinu, cosu and tanuzimmerma2020-12-181-5/+13
| | | | | | | also in cosu, treat special case when 2*pi*x/u is small git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14225 280ebfd0-de03-0410-8827-d642c229c3f4
* added sinpi, cospi, tanpizimmerma2020-12-161-1/+8
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14211 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/sinu.c] fixed compiler warningzimmerma2020-12-151-2/+39
| | | | | | | | [src/cosu.c] deal with other exact cases [tests/tcosu.c] added tests for other exact cases git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14207 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/{cosu.c,sinu.c}] Added function logging.vlefevre2020-12-151-1/+6
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14200 280ebfd0-de03-0410-8827-d642c229c3f4
* added new function mpfr_cosuzimmerma2020-12-151-0/+141
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14199 280ebfd0-de03-0410-8827-d642c229c3f4