summaryrefslogtreecommitdiff
path: root/tests/tanh.dat
blob: 439fb260e5576be2269d90235f85fe8024d28f82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Data file for mpc_tanh.
#
# Copyright (C) 2008 INRIA
#
# This file is part of GNU MPC.
#
# GNU MPC is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
#o ption) any later version.
#
# GNU MPC is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
# more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see http://www.gnu.org/licenses/ .
#
# For explanations on the file format, see sin.dat.

# special values (following ISO C99 standard)
0 0 7   -1 7    0   7 -inf 7 -inf N N
0 0 7   -1 7   -0   7 -inf 7   -1 N N
0 0 7   -1 7   -0   7 -inf 7   -0 N N
0 0 7   -1 7   +0   7 -inf 7   +0 N N
0 0 7   -1 7   +0   7 -inf 7    1 N N
0 0 7   -1 7    0   7 -inf 7 +inf N N
0 0 7   -1 7    0   7 -inf 7  NaN N N
0 0 7  NaN 7  NaN   7   -1 7 -inf N N
0 0 7  NaN 7  NaN   7   -1 7 +inf N N
0 0 7  NaN 7  NaN   7   -1 7  NaN N N
0 0 7  NaN 7  NaN   7   -0 7 -inf N N
0 0 7   -0 7   -0   7   -0 7   -0 N N
0 0 7   -0 7   +0   7   -0 7   +0 N N
0 0 7  NaN 7  NaN   7   -0 7 +inf N N
0 0 7  NaN 7  NaN   7   -0 7  NaN N N
0 0 7  NaN 7  NaN   7   +0 7 -inf N N
0 0 7   +0 7   -0   7   +0 7   -0 N N
0 0 7   +0 7   +0   7   +0 7   +0 N N
0 0 7  NaN 7  NaN   7   +0 7 +inf N N
0 0 7  NaN 7  NaN   7   +0 7  NaN N N
0 0 7  NaN 7  NaN   7    1 7 -inf N N
0 0 7  NaN 7  NaN   7    1 7 +inf N N
0 0 7  NaN 7  NaN   7    1 7  NaN N N
0 0 7    1 7    0   7 +inf 7 -inf N N
0 0 7    1 7   -0   7 +inf 7   -1 N N
0 0 7    1 7   -0   7 +inf 7   -0 N N
0 0 7    1 7   +0   7 +inf 7   +0 N N
0 0 7    1 7   +0   7 +inf 7    1 N N
0 0 7    1 7    0   7 +inf 7 +inf N N
0 0 7    1 7    0   7 +inf 7  NaN N N
0 0 7  NaN 7  NaN   7  NaN 7 -inf N N
0 0 7  NaN 7  NaN   7  NaN 7   -1 N N
0 0 7  NaN 7   -0   7  NaN 7   -0 N N
0 0 7  NaN 7   +0   7  NaN 7   +0 N N
0 0 7  NaN 7  NaN   7  NaN 7    1 N N
0 0 7  NaN 7  NaN   7  NaN 7 +inf N N
0 0 7  NaN 7  NaN   7  NaN 7  NaN N N

# purely real argument
- 0 50 -0xc2f7d5a8a79ccp-52 50 -0   7 -1 7 -0 N N
- 0 50 -0xc2f7d5a8a79ccp-52 50 +0   7 -1 7 +0 N N
+ 0 50  0xc2f7d5a8a79ccp-52 50 -0   7  1 7 -0 N N
+ 0 50  0xc2f7d5a8a79ccp-52 50 +0   7  1 7 +0 N N

# purely imaginary argument
0 - 50 -0 50 -0x18eb245cbee3a8p-52   7 -0 7 -1 N N
0 + 50 -0 50  0x18eb245cbee3a8p-52   7 -0 7  1 N N
0 - 50 +0 50 -0x18eb245cbee3a8p-52   7 +0 7 -1 N N
0 + 50 +0 50  0x18eb245cbee3a8p-52   7 +0 7  1 N N

# values with +1 and -1
- - 50 -0x1157bffca4a8cp-48 50 -0x459193d28cfe2p-52   7 -1 7 -1 N N
- + 50 -0x1157bffca4a8cp-48 50  0x459193d28cfe2p-52   7 -1 7  1 N N
+ - 50  0x1157bffca4a8cp-48 50 -0x459193d28cfe2p-52   7  1 7 -1 N N
+ + 50  0x1157bffca4a8cp-48 50  0x459193d28cfe2p-52   7  1 7  1 N N

# IEEE-754 double precision
+ - 53 0x10000000000001p-53  53 0x1FFFFFFFFFFFFFp-53   53 0x1E938CBCEB16DFp-55 53 0x1B1F56FDEEF00Fp-53 N N