Import Upstream version 0.8.2
[platform/upstream/mpc.git] / tests / conj.dat
1 # Data file for mpc_conj.
2 #
3 # Copyright (C) 2008 Philippe Th\'eveny
4 #
5 # This file is part of the MPC Library.
6 #
7 # The MPC Library is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU Lesser General Public License as published by
9 # the Free Software Foundation; either version 2.1 of the License, or (at your
10 # option) any later version.
11 #
12 # The MPC Library is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
15 # License for more details.
16 #
17 # You should have received a copy of the GNU Lesser General Public License
18 # along with the MPC Library; see the file COPYING.LIB.  If not, write to
19 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
20 # MA 02111-1307, USA.
21 #
22 # The line format respects the parameter order in function prototype as
23 # follow:
24 #
25 # INEX_RE  INEX_IM  PREC_ROP_RE  ROP_RE  PREC_ROP_IM  ROP_IM  PREC_OP_RE  OP_RE  PREC_OP_IM  OP_IM  RND_RE  RND_IM
26 #
27 # see sin.dat for precisions
28
29 # special values (following ISO C99 standard)
30 0 0 53 -inf 53 +inf    53 -inf 53 -inf  N N
31 0 0 53 -inf 53   +1    53 -inf 53   -1  N N
32 0 0 53 -inf 53   +0    53 -inf 53   -0  N N
33 0 0 53 -inf 53   -0    53 -inf 53   +0  N N
34 0 0 53 -inf 53   -1    53 -inf 53   +1  N N
35 0 0 53 -inf 53 -inf    53 -inf 53 +inf  N N
36 0 0 53 -inf 53  nan    53 -inf 53  nan  N N
37 0 0 53   -1 53 +inf    53   -1 53 -inf  N N
38 0 0 53   -1 53   +0    53   -1 53   -0  N N
39 0 0 53   -1 53   -0    53   -1 53   +0  N N
40 0 0 53   -1 53 -inf    53   -1 53 +inf  N N
41 0 0 53   -1 53  nan    53   -1 53  nan  N N
42 0 0 53   -0 53 +inf    53   -0 53 -inf  N N
43 0 0 53   -0 53   +1    53   -0 53   -1  N N
44 0 0 53   -0 53   +0    53   -0 53   -0  N N
45 0 0 53   -0 53   -0    53   -0 53   +0  N N
46 0 0 53   -0 53   -1    53   -0 53   +1  N N
47 0 0 53   -0 53 -inf    53   -0 53 +inf  N N
48 0 0 53   -0 53  nan    53   -0 53  nan  N N
49 0 0 53   +0 53 +inf    53   +0 53 -inf  N N
50 0 0 53   +0 53   +1    53   +0 53   -1  N N
51 0 0 53   +0 53   +0    53   +0 53   -0  N N
52 0 0 53   +0 53   -0    53   +0 53   +0  N N
53 0 0 53   +0 53   -1    53   +0 53   +1  N N
54 0 0 53   +0 53 -inf    53   +0 53 +inf  N N
55 0 0 53   +0 53  nan    53   +0 53  nan  N N
56 0 0 53   +1 53 +inf    53   +1 53 -inf  N N
57 0 0 53   +1 53   +0    53   +1 53   -0  N N
58 0 0 53   +1 53   -0    53   +1 53   +0  N N
59 0 0 53   +1 53 -inf    53   +1 53 +inf  N N
60 0 0 53   +1 53  nan    53   +1 53  nan  N N
61 0 0 53 +inf 53 +inf    53 +inf 53 -inf  N N
62 0 0 53 +inf 53   +1    53 +inf 53   -1  N N
63 0 0 53 +inf 53   +0    53 +inf 53   -0  N N
64 0 0 53 +inf 53   -0    53 +inf 53   +0  N N
65 0 0 53 +inf 53   -1    53 +inf 53   +1  N N
66 0 0 53 +inf 53 -inf    53 +inf 53 +inf  N N
67 0 0 53 +inf 53  nan    53 +inf 53  nan  N N
68 0 0 53  nan 53 +inf    53  nan 53 -inf  N N
69 0 0 53  nan 53   +1    53  nan 53   -1  N N
70 0 0 53  nan 53   +0    53  nan 53   -0  N N
71 0 0 53  nan 53   -0    53  nan 53   +0  N N
72 0 0 53  nan 53   -1    53  nan 53   +1  N N
73 0 0 53  nan 53 -inf    53  nan 53 +inf  N N
74 0 0 53  nan 53  nan    53  nan 53  nan  N N
75
76 # pure real argument
77 0 0 53  0x123456789abcdep+52  2 -0    53  0x123456789abcdep+52 17 +0 N N
78 0 0 53 -0x123456789abcdep+52  3 -0    54 -0x123456789abcdep+52 16 +0 Z N
79 0 0 53  0x123456789abcdep+52  4 +0    55  0x123456789abcdep+52 15 -0 U N
80 0 0 53 -0x123456789abcdep+52  5 +0    56 -0x123456789abcdep+52 14 -0 D N
81 0 0 53  0x123456789abcdep+52  6 -0    57  0x123456789abcdep+52 13 +0 Z Z
82 0 0 53 -0x123456789abcdep+52  7 -0    58 -0x123456789abcdep+52 12 +0 U Z
83 0 0 53  0x123456789abcdep+52  8 +0    59  0x123456789abcdep+52 11 -0 D Z
84 0 0 53 -0x123456789abcdep+52  9 +0    60 -0x123456789abcdep+52 10 -0 N Z
85 0 0 53  0x123456789abcdep+52 10 -0    61  0x123456789abcdep+52  9 +0 U U
86 0 0 53 -0x123456789abcdep+52 11 -0    62 -0x123456789abcdep+52  8 +0 D U
87 0 0 53  0x123456789abcdep+52 12 +0    63  0x123456789abcdep+52  7 -0 N U
88 0 0 53 -0x123456789abcdep+52 13 +0    64 -0x123456789abcdep+52  6 -0 Z U
89 0 0 53  0x123456789abcdep+52 14 -0    65  0x123456789abcdep+52  5 +0 D D
90 0 0 53 -0x123456789abcdep+52 15 -0    66 -0x123456789abcdep+52  4 +0 N D
91 0 0 53  0x123456789abcdep+52 16 +0    67  0x123456789abcdep+52  3 -0 Z D
92 0 0 53 -0x123456789abcdep+52 17 +0    68 -0x123456789abcdep+52  2 -0 U D
93
94 # pure imaginary argument
95 0 0 53 +0 53 -0x123456789abcdep+52    53 +0 53  0x123456789abcdep+52 N N
96 0 0 53 -0 53 -0x123456789abcdep+52    51 -0 54  0x123456789abcdep+52 Z N
97 0 0 53 +0 53  0x123456789abcdep+52    49 +0 55 -0x123456789abcdep+52 U N
98 0 0 53 -0 53  0x123456789abcdep+52    47 -0 56 -0x123456789abcdep+52 D N
99 0 0 53 +0 53 -0x123456789abcdep+52    45 +0 57  0x123456789abcdep+52 Z Z
100 0 0 53 -0 53 -0x123456789abcdep+52    43 -0 58  0x123456789abcdep+52 U Z
101 0 0 53 +0 53  0x123456789abcdep+52    41 +0 59 -0x123456789abcdep+52 D Z
102 0 0 53 -0 53  0x123456789abcdep+52    39 -0 60 -0x123456789abcdep+52 N Z
103 0 0 53 +0 53 -0x123456789abcdep+52    37 +0 61  0x123456789abcdep+52 U U
104 0 0 53 -0 53 -0x123456789abcdep+52    35 -0 62  0x123456789abcdep+52 D U
105 0 0 53 +0 53  0x123456789abcdep+52    33 +0 63 -0x123456789abcdep+52 N U
106 0 0 53 -0 53  0x123456789abcdep+52    31 -0 64 -0x123456789abcdep+52 Z U
107 0 0 53 +0 53 -0x123456789abcdep+52    29 +0 65  0x123456789abcdep+52 D D
108 0 0 53 -0 53 -0x123456789abcdep+52    27 -0 66  0x123456789abcdep+52 N D
109 0 0 53 +0 53  0x123456789abcdep+52    25 +0 67 -0x123456789abcdep+52 Z D
110 0 0 53 -0 53  0x123456789abcdep+52    23 -0 68 -0x123456789abcdep+52 U D
111