1 # Data file for mpc_asin.
3 # Copyright (C) 2009 INRIA
5 # This file is part of GNU MPC.
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.
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
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/ .
20 # The line format respects the parameter order in function prototype as
23 # 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
25 # where op = op_re + i * op_im, rop = rop_re + i * rop_im,
26 # rop_re is ROP_RE rounded to nearest to the precision of PREC_ROP_RE
27 # rop_im is ROP_IM rounded to nearest to the precision of PREC_ROP_IM
28 # op_re is OP_RE rounded to nearest to the precision of PREC_OP_RE
29 # op_im is OP_IM rounded to nearest to the precision of PREC_OP_IM
30 # ROP_RE is checked against Re(asin op) rounded to the precision PREC_ROP_RE
31 # in the direction RND_RE
32 # ROP_IM is checked against Im(asin op) rounded to the precision PREC_ROP_IM
33 # in the direction RND_IM
34 # INEX_RE is the ternary value for the real part with the following notation:
35 # "?" ternary value not checked
36 # "+" if ROP_RE is greater than the exact mathematical result
37 # "0" if ROP_RE is exactly the mathematical result
38 # "-" if ROP_RE is less than the exact mathematical result
40 # rounding modes notation:
41 # "N" is rounding to nearest
42 # "Z" is rounding towards zero
43 # "U" is rounding towards plus infinity
44 # "D" is rounding towards minus infinity
45 # Use prefixes "0b" for values in base two, "0x" for values in base sixteen,
46 # no prefix for value in base ten.
47 # In all bases, "nan" is NaN, "inf" is infinity;
48 # The sign of the result is checked with "+inf", "-inf", "-0", or "+0".
50 # special values (following ISO C99 standard)
51 + 0 53 -0x1921FB54442D18p-53 53 -inf 53 -inf 53 -inf N N
52 + 0 53 -0x1921FB54442D18p-52 53 -inf 53 -inf 53 -1 N N
53 + 0 53 -0x1921FB54442D18p-52 53 -inf 53 -inf 53 -0 N N
54 + 0 53 -0x1921FB54442D18p-52 53 +inf 53 -inf 53 +0 N N
55 + 0 53 -0x1921FB54442D18p-52 53 +inf 53 -inf 53 +1 N N
56 + 0 53 -0x1921FB54442D18p-53 53 +inf 53 -inf 53 +inf N N
57 0 0 53 nan 53 inf 53 -inf 53 nan N N
58 0 0 53 -0 53 -inf 53 -6 53 -inf N N
59 0 0 53 -0 53 +inf 53 -6 53 +inf N N
60 0 0 53 nan 53 nan 53 -6 53 nan N N
61 0 0 53 -0 53 -inf 53 -0.5 53 -inf N N
62 0 0 53 -0 53 +inf 53 -0.5 53 +inf N N
63 0 0 53 nan 53 nan 53 -0.5 53 nan N N
64 0 0 53 -0 53 -inf 53 -0 53 -inf N N
65 0 0 53 -0 53 -0 53 -0 53 -0 N N
66 0 0 53 -0 53 +0 53 -0 53 +0 N N
67 0 0 53 -0 53 +inf 53 -0 53 +inf N N
68 0 0 53 -0 53 nan 53 -0 53 nan N N
69 0 0 53 +0 53 -inf 53 +0 53 -inf N N
70 0 0 53 +0 53 -0 53 +0 53 -0 N N
71 0 0 53 +0 53 +0 53 +0 53 +0 N N
72 0 0 53 +0 53 +inf 53 +0 53 +inf N N
73 0 0 53 +0 53 nan 53 +0 53 nan N N
74 0 0 53 +0 53 -inf 53 +0.5 53 -inf N N
75 0 0 53 +0 53 +inf 53 +0.5 53 +inf N N
76 0 0 53 nan 53 nan 53 +0.5 53 nan N N
77 0 0 53 +0 53 -inf 53 +6 53 -inf N N
78 0 0 53 +0 53 +inf 53 +6 53 +inf N N
79 0 0 53 nan 53 nan 53 +6 53 nan N N
80 - 0 53 0x1921FB54442D18p-53 53 -inf 53 +inf 53 -inf N N
81 - 0 53 0x1921FB54442D18p-52 53 -inf 53 +inf 53 -1 N N
82 - 0 53 0x1921FB54442D18p-52 53 -inf 53 +inf 53 -0 N N
83 - 0 53 0x1921FB54442D18p-52 53 +inf 53 +inf 53 +0 N N
84 - 0 53 0x1921FB54442D18p-52 53 +inf 53 +inf 53 +1 N N
85 - 0 53 0x1921FB54442D18p-53 53 +inf 53 +inf 53 +inf N N
86 0 0 53 nan 53 inf 53 +inf 53 nan N N
87 0 0 53 nan 53 -inf 53 nan 53 -inf N N
88 0 0 53 nan 53 nan 53 nan 53 -1 N N
89 0 0 53 nan 53 nan 53 nan 53 -0 N N
90 0 0 53 nan 53 nan 53 nan 53 +0 N N
91 0 0 53 nan 53 nan 53 nan 53 +1 N N
92 0 0 53 nan 53 +inf 53 nan 53 +inf N N
93 0 0 53 nan 53 nan 53 nan 53 nan N N
96 + - 53 -0x1921FB54442D18p-52 53 -0x1ECC2CAEC5160Ap-53 53 -1.5 53 -0 N N
97 + + 53 -0x1921FB54442D18p-52 53 0x1ECC2CAEC5160Ap-53 53 -1.5 53 +0 N N
98 + 0 53 -0x1921FB54442D18p-52 53 -0 53 -1 53 -0 N N
99 + 0 53 -0x1921FB54442D18p-52 53 +0 53 -1 53 +0 N N
100 - 0 53 -0x10C152382D7366p-53 53 -0 53 -0.5 53 -0 N N
101 - 0 53 -0x10C152382D7366p-53 53 +0 53 -0.5 53 +0 N N
102 + 0 53 0x10C152382D7366p-53 53 -0 53 +0.5 53 -0 N N
103 + 0 53 0x10C152382D7366p-53 53 +0 53 +0.5 53 +0 N N
104 - 0 53 0x1921FB54442D18p-52 53 -0 53 +1 53 -0 N N
105 - 0 53 0x1921FB54442D18p-52 53 +0 53 +1 53 +0 N N
106 - - 53 0x1921FB54442D18p-52 53 -0x1ECC2CAEC5160Ap-53 53 +1.5 53 -0 N N
107 - + 53 0x1921FB54442D18p-52 53 0x1ECC2CAEC5160Ap-53 53 +1.5 53 +0 N N
109 # pure imaginary argument
110 0 + 53 -0 53 -0x131DC0090B63D8p-52 53 -0 53 -1.5 N N
111 0 + 53 +0 53 -0x131DC0090B63D8p-52 53 +0 53 -1.5 N N
112 0 - 53 -0 53 -0x1C34366179D427p-53 53 -0 53 -1 N N
113 0 - 53 +0 53 -0x1C34366179D427p-53 53 +0 53 -1 N N
114 0 - 53 -0 53 -0x1ECC2CAEC5160Ap-54 53 -0 53 -0.5 N N
115 0 - 53 +0 53 -0x1ECC2CAEC5160Ap-54 53 +0 53 -0.5 N N
116 0 + 53 -0 53 0x1ECC2CAEC5160Ap-54 53 -0 53 +0.5 N N
117 0 + 53 +0 53 0x1ECC2CAEC5160Ap-54 53 +0 53 +0.5 N N
118 0 + 53 -0 53 0x1C34366179D427p-53 53 -0 53 +1 N N
119 0 + 53 +0 53 0x1C34366179D427p-53 53 +0 53 +1 N N
120 0 - 53 -0 53 0x131DC0090B63D8p-52 53 -0 53 +1.5 N N
121 0 - 53 +0 53 0x131DC0090B63D8p-52 53 +0 53 +1.5 N N
123 # IEEE-754 double precision and other precisions
124 + - 53 0x189BF9EC7FCD5Bp-54 53 0x1206ECFA94614Bp-50 53 17 53 42 N N
125 - + 2 1.5 2 6 2 96 2 0x1p-8 N N
126 - - 8 0xC9p-7 8 0x15p-2 2 96 2 0x1p-8 N N