NetBSD/external/lgpl2/mpc/dist/tests/tanh.dat
mrg d43cffdfe2 initial import of MPC 0.9 package.
MPC is a C library for the arithmetic of complex numbers with
arbitrarily high precision and correct rounding of the result.
It is built upon and follows the same principles as MPFR.

GCC >= 4.2 requires MPC.
2011-06-20 05:50:19 +00:00

84 lines
3.2 KiB
Plaintext

# Data file for mpc_tanh.
#
# Copyright (C) INRIA, 2008
#
# This file is part of the MPC Library.
#
# The MPC Library 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 2.1 of the License, or (at your
# option) any later version.
#
# The MPC Library 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 the MPC Library; see the file COPYING.LIB. If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA.
#
# 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