Imported Upstream version 1.0
[platform/upstream/mpc.git] / tests / arg.dat
1 # Data file for mpc_arg.
2 #
3 # Copyright (C) 2008 INRIA
4 #
5 # This file is part of GNU MPC.
6 #
7 # GNU MPC is free software; you can redistribute it and/or modify it under
8 # the terms of the GNU Lesser General Public License as published by the
9 # Free Software Foundation; either version 3 of the License, or (at your
10 #o ption) any later version.
11 #
12 # GNU MPC is distributed in the hope that it will be useful, but WITHOUT ANY
13 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
15 # more details.
16 #
17 # You should have received a copy of the GNU Lesser General Public License
18 # along with this program. If not, see http://www.gnu.org/licenses/ .
19 #
20 # The line format respects the parameter order in function prototype as
21 # follow:
22 #
23 # INEX  PREC_ROP  ROP  PREC_ROP_IM  ROP_IM  PREC_OP_RE  OP_RE  PREC_OP_IM  OP_IM  RND
24 #
25 # where op = op_re + i * op_im.
26 # See abs.dat for other details.
27
28 # special values (following ISO C99 standard)
29 + 53 -0x96CBE3F9990E9p-50    53 -inf 53 -inf N
30 + 53 -0x3243F6A8885A3p-48    53 -inf 53   -1 N
31 + 53 -0x3243F6A8885A3p-48    53 -inf 53   -0 N
32 - 53 +0x3243F6A8885A3p-48    53 -inf 53   +0 N
33 - 53 +0x3243F6A8885A3p-48    53 -inf 53   +1 N
34 - 53 +0x96CBE3F9990E9p-50    53 -inf 53 +inf N
35 0 53                  nan    53 -inf 53  nan N
36 + 53 -0x3243F6A8885A3p-49    53   -1 53 -inf N
37 + 53 -0x3243F6A8885A3p-48    53   -1 53   -0 N
38 - 53 +0x3243F6A8885A3p-48    53   -1 53   +0 N
39 - 53 +0x3243F6A8885A3p-49    53   -1 53 +inf N
40 0 53                  nan    53   -1 53  nan N
41 + 53 -0x3243F6A8885A3p-49    53   -0 53 -inf N
42 + 53 -0x3243F6A8885A3p-49    53   -0 53   -1 N
43 + 53 -0x3243F6A8885A3p-48    53   -0 53   -0 N
44 - 53 +0x3243F6A8885A3p-48    53   -0 53   +0 N
45 - 53 +0x3243F6A8885A3p-49    53   -0 53   +1 N
46 - 53 +0x3243F6A8885A3p-49    53   -0 53 +inf N
47 0 53                  nan    53   -0 53  nan N
48 + 53 -0x3243F6A8885A3p-49    53   +0 53 -inf N
49 + 53 -0x3243F6A8885A3p-49    53   +0 53   -1 N
50 0 53                   -0    53   +0 53   -0 N
51 0 53                   +0    53   +0 53   +0 N
52 - 53 +0x3243F6A8885A3p-49    53   +0 53   +1 N
53 - 53 +0x3243F6A8885A3p-49    53   +0 53 +inf N
54 0 53                  nan    53   +0 53  nan N
55 + 53 -0x3243F6A8885A3p-49    53   +1 53 -inf N
56 0 53                   -0    53   +1 53   -0 N
57 0 53                   +0    53   +1 53   +0 N
58 - 53 +0x3243F6A8885A3p-49    53   +1 53 +inf N
59 0 53                  nan    53   +1 53  nan N
60 + 53 -0x3243F6A8885A3p-50    53 +inf 53 -inf N
61 0 53                   -0    53 +inf 53   -1 N
62 0 53                   -0    53 +inf 53   -0 N
63 0 53                   +0    53 +inf 53   +0 N
64 0 53                   +0    53 +inf 53   +1 N
65 - 53 +0x3243F6A8885A3p-50    53 +inf 53 +inf N
66 0 53                  nan    53 +inf 53  nan N
67 0 53                  nan    53  nan 53 -inf N
68 0 53                  nan    53  nan 53   -1 N
69 0 53                  nan    53  nan 53   -0 N
70 0 53                  nan    53  nan 53   +0 N
71 0 53                  nan    53  nan 53   +1 N
72 0 53                  nan    53  nan 53 +inf N
73 0 53                  nan    53  nan 53  nan N
74