summaryrefslogtreecommitdiff
path: root/tests/tcompound.c
Commit message (Collapse)AuthorAgeFilesLines
* renamed mpfr_compound to mpfr_compound_si, since in C2X, compoundn takeszimmerma2021-02-151-17/+17
| | | | | | | | an intmax_t and not a long, thus we can later implement mpfr_compoundn taking as input an intmax_t git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14429 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tcompound.c] Added generic tests with n = 2 and n = 3.vlefevre2021-02-051-0/+23
| | | | | | They trigger a failure: bad inexact flag for mpfr_compound2. git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14375 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tcompound.c] More tests of compound(x,n) for x < -1, showingvlefevre2021-02-051-14/+32
| | | | | | a failure on compound(-Inf,0). git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14371 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tcompound.c] Fixed a test in the case mpfr_exp_t < long.vlefevre2021-02-041-1/+2
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14369 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tcompound.c] Corrected an error message.vlefevre2021-02-041-3/+3
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14368 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tcompound.c] Corrected the conditions of a test for machinesvlefevre2021-02-041-10/+17
| | | | | | with 32-bit long. Added comments. git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14365 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/compound.c] fixed case n < 0 and underflowzimmerma2021-02-041-0/+34
| | | | | | | [tests/tcompound.c] added corresponding non-regression tests git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14360 280ebfd0-de03-0410-8827-d642c229c3f4
* compound(NaN,0) is 1zimmerma2021-02-041-5/+7
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14359 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tcompound.c] fixed commentzimmerma2021-02-041-1/+1
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14357 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/compound.c] completed the general casezimmerma2021-02-031-0/+14
| | | | | | | [tests/tcompound.c] added one hard-coded test git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14341 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tcompound.c] Do not use mpfr_printf in the tests.vlefevre2021-02-031-3/+6
| | | | git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14338 280ebfd0-de03-0410-8827-d642c229c3f4
* added log2p1 and compound (mpfr_compound is not finished yet)zimmerma2021-02-031-0/+173
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14331 280ebfd0-de03-0410-8827-d642c229c3f4