bd38f1758aca80306636384b1128a0fcc13489ff
[platform/upstream/mpc.git] / tests / arg.dat
1 # Data file for mpc_arg.
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  PREC_ROP  ROP  PREC_ROP_IM  ROP_IM  PREC_OP_RE  OP_RE  PREC_OP_IM  OP_IM  RND
26 #
27 # where op = op_re + i * op_im.
28 # See abs.dat for other details.
29
30 # special values (following ISO C99 standard)
31 + 53 -0x96CBE3F9990E9p-50    53 -inf 53 -inf N
32 + 53 -0x3243F6A8885A3p-48    53 -inf 53   -1 N
33 + 53 -0x3243F6A8885A3p-48    53 -inf 53   -0 N
34 - 53 +0x3243F6A8885A3p-48    53 -inf 53   +0 N
35 - 53 +0x3243F6A8885A3p-48    53 -inf 53   +1 N
36 - 53 +0x96CBE3F9990E9p-50    53 -inf 53 +inf N
37 0 53                  nan    53 -inf 53  nan N
38 + 53 -0x3243F6A8885A3p-49    53   -1 53 -inf N
39 + 53 -0x3243F6A8885A3p-48    53   -1 53   -0 N
40 - 53 +0x3243F6A8885A3p-48    53   -1 53   +0 N
41 - 53 +0x3243F6A8885A3p-49    53   -1 53 +inf N
42 0 53                  nan    53   -1 53  nan N
43 + 53 -0x3243F6A8885A3p-49    53   -0 53 -inf N
44 + 53 -0x3243F6A8885A3p-49    53   -0 53   -1 N
45 + 53 -0x3243F6A8885A3p-48    53   -0 53   -0 N
46 - 53 +0x3243F6A8885A3p-48    53   -0 53   +0 N
47 - 53 +0x3243F6A8885A3p-49    53   -0 53   +1 N
48 - 53 +0x3243F6A8885A3p-49    53   -0 53 +inf N
49 0 53                  nan    53   -0 53  nan N
50 + 53 -0x3243F6A8885A3p-49    53   +0 53 -inf N
51 + 53 -0x3243F6A8885A3p-49    53   +0 53   -1 N
52 0 53                   -0    53   +0 53   -0 N
53 0 53                   +0    53   +0 53   +0 N
54 - 53 +0x3243F6A8885A3p-49    53   +0 53   +1 N
55 - 53 +0x3243F6A8885A3p-49    53   +0 53 +inf N
56 0 53                  nan    53   +0 53  nan N
57 + 53 -0x3243F6A8885A3p-49    53   +1 53 -inf N
58 0 53                   -0    53   +1 53   -0 N
59 0 53                   +0    53   +1 53   +0 N
60 - 53 +0x3243F6A8885A3p-49    53   +1 53 +inf N
61 0 53                  nan    53   +1 53  nan N
62 + 53 -0x3243F6A8885A3p-50    53 +inf 53 -inf N
63 0 53                   -0    53 +inf 53   -1 N
64 0 53                   -0    53 +inf 53   -0 N
65 0 53                   +0    53 +inf 53   +0 N
66 0 53                   +0    53 +inf 53   +1 N
67 - 53 +0x3243F6A8885A3p-50    53 +inf 53 +inf N
68 0 53                  nan    53 +inf 53  nan N
69 0 53                  nan    53  nan 53 -inf N
70 0 53                  nan    53  nan 53   -1 N
71 0 53                  nan    53  nan 53   -0 N
72 0 53                  nan    53  nan 53   +0 N
73 0 53                  nan    53  nan 53   +1 N
74 0 53                  nan    53  nan 53 +inf N
75 0 53                  nan    53  nan 53  nan N
76