Import Upstream version 0.8.2
[platform/upstream/mpc.git] / tests / norm.dat
1 # Data file for mpc_norm.
2 #
3 # Copyright (C) 2008 Andreas Enge
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 # For explanations on the file format, see abs.dat.
23
24 # special values
25 0 7 +inf   7 -inf 7 -inf N
26 0 7 +inf   7 -inf 7   -1 N
27 0 7 +inf   7 -inf 7   -0 N
28 0 7 +inf   7 -inf 7   +0 N
29 0 7 +inf   7 -inf 7    1 N
30 0 7 +inf   7 -inf 7 +inf N
31 0 7 +inf   7 -inf 7  nan N
32 0 7 +inf   7   -1 7 -inf N
33 0 7 +inf   7   -1 7 +inf N
34 0 7  nan   7   -1 7  nan N
35 0 7 +inf   7   -0 7 -inf N
36 0 7 +inf   7   -0 7 +inf N
37 0 7  nan   7   -0 7  nan N
38 0 7 +inf   7   +0 7 -inf N
39 0 7 +inf   7   +0 7 +inf N
40 0 7  nan   7   +0 7  nan N
41 0 7 +inf   7    1 7 -inf N
42 0 7 +inf   7    1 7 +inf N
43 0 7  nan   7    1 7  nan N
44 0 7 +inf   7 +inf 7 -inf N
45 0 7 +inf   7 +inf 7   -1 N
46 0 7 +inf   7 +inf 7   -0 N
47 0 7 +inf   7 +inf 7   +0 N
48 0 7 +inf   7 +inf 7    1 N
49 0 7 +inf   7 +inf 7 +inf N
50 0 7 +inf   7 +inf 7  nan N
51 0 7 +inf   7  nan 7 -inf N
52 0 7  nan   7  nan 7   -1 N
53 0 7  nan   7  nan 7   -0 N
54 0 7  nan   7  nan 7   +0 N
55 0 7  nan   7  nan 7    1 N
56 0 7 +inf   7  nan 7 +inf N
57 0 7  nan   7  nan 7  nan N
58
59 # values with only 1, -1, +0, -0
60 0 7    2   7   -1 7   -1 N
61 0 7    1   7   -1 7   -0 N
62 0 7    1   7   -1 7   +0 N
63 0 7    2   7   -1 7    1 N
64 0 7    1   7   -0 7   -1 N
65 0 7   +0   7   -0 7   -0 N
66 0 7   +0   7   -0 7   +0 N
67 0 7    1   7   -0 7    1 N
68 0 7    1   7   +0 7   -1 N
69 0 7   +0   7   +0 7   -0 N
70 0 7   +0   7   +0 7   +0 N
71 0 7    1   7   +0 7    1 N
72 0 7    2   7    1 7   -1 N
73 0 7    1   7    1 7   -0 N
74 0 7    1   7    1 7   +0 N
75 0 7    2   7    1 7    1 N
76
77 # overflow
78 + 53 +inf  2 0x1p536870912 2 0x1p536870912 U