Home | History | Annotate | Download | only in tests

Lines Matching refs:mpfr_atanh

1 /* Test file for mpfr_atanh.
25 #define TEST_FUNCTION mpfr_atanh
40 mpfr_atanh (x, y, MPFR_RNDN);
48 mpfr_atanh (x, y, MPFR_RNDN);
60 mpfr_atanh (y, x, MPFR_RNDN);
63 printf ("Error: mpfr_atanh(%d/2) <> NaN\n", i);
67 mpfr_atanh (y, x, MPFR_RNDN);
70 printf ("Error: mpfr_atanh(-%d/2) <> NaN\n", i);
77 mpfr_atanh (y, x, MPFR_RNDN);
80 printf ("Error: mpfr_atanh(+0) <> +0\n");
84 mpfr_atanh (y, x, MPFR_RNDN);
87 printf ("Error: mpfr_atanh(-0) <> -0\n");
92 mpfr_atanh (y, x, MPFR_RNDN);
95 printf ("Error: mpfr_atanh(NaN) <> NaN\n");
100 mpfr_atanh (y, x, MPFR_RNDN);
103 printf ("Error: mpfr_atanh(+Inf) <> NaN\n");
109 mpfr_atanh (y, x, MPFR_RNDN);
112 printf ("Error: mpfr_atanh(-Inf) <> NaN\n");
117 mpfr_atanh (y, x, MPFR_RNDN);
120 printf ("Error: mpfr_atanh(1) <> +Inf\n");
125 mpfr_atanh (y, x, MPFR_RNDN);
128 printf ("Error: mpfr_atanh(-1) <> -Inf\n");
136 mpfr_atanh (x, x, MPFR_RNDN);
140 printf ("Error: mpfr_atanh (1)\n");
145 mpfr_atanh (x, x, MPFR_RNDN);
149 printf ("Error: mpfr_atanh (2)\n");
156 mpfr_atanh (y, x, MPFR_RNDZ);
161 printf ("Error: mpfr_atanh (3)\n");
180 data_check ("data/atanh", mpfr_atanh, "mpfr_atanh");
181 bad_cases (mpfr_atanh, mpfr_tanh, "mpfr_atanh", 256, -128, 8,