xref: /netbsd-src/external/lgpl3/mpc/dist/tests/proj.dat (revision 8fa80f29617a57ed2098db654a02cc5c7dc15820)
1# Data file for mpc_proj.
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_RE  INEX_RE  PREC_ROP_RE  ROP_RE  PREC_ROP_IM  ROP_IM  PREC_OP_RE  OP_RE  PREC_OP_IM  OP_IM  RND_RE  RND_IM
24#
25# see sin.dat for precisions
26
27# special values (following ISO C99 standard)
280 0 53 +inf 53   -0    53 -inf 53 -inf  N N
290 0 53 +inf 53   -0    53 -inf 53   -1  N N
300 0 53 +inf 53   -0    53 -inf 53   -0  N N
310 0 53 +inf 53   +0    53 -inf 53   +0  N N
320 0 53 +inf 53   +0    53 -inf 53   +1  N N
330 0 53 +inf 53   +0    53 -inf 53 +inf  N N
340 0 53 +inf 53    0    53 -inf 53  nan  N N
350 0 53 +inf 53   -0    53   -1 53 -inf  N N
360 0 53   -1 53   -0    53   -1 53   -0  N N
370 0 53   -1 53   +0    53   -1 53   +0  N N
380 0 53 +inf 53   +0    53   -1 53 +inf  N N
390 0 53   -1 53  nan    53   -1 53  nan  N N
400 0 53 +inf 53   -0    53   -0 53 -inf  N N
410 0 53   -0 53   -1    53   -0 53   -1  N N
420 0 53   -0 53   -0    53   -0 53   -0  N N
430 0 53   -0 53   +0    53   -0 53   +0  N N
440 0 53   -0 53   +1    53   -0 53   +1  N N
450 0 53 +inf 53   +0    53   -0 53 +inf  N N
460 0 53   -0 53  nan    53   -0 53  nan  N N
470 0 53 +inf 53   -0    53   +0 53 -inf  N N
480 0 53   +0 53   -1    53   +0 53   -1  N N
490 0 53   +0 53   -0    53   +0 53   -0  N N
500 0 53   +0 53   +0    53   +0 53   +0  N N
510 0 53   +0 53   +1    53   +0 53   +1  N N
520 0 53 +inf 53   +0    53   +0 53 +inf  N N
530 0 53   +0 53  nan    53   +0 53  nan  N N
540 0 53 +inf 53   -0    53   +1 53 -inf  N N
550 0 53   +1 53   -0    53   +1 53   -0  N N
560 0 53   +1 53   +0    53   +1 53   +0  N N
570 0 53 +inf 53   +0    53   +1 53 +inf  N N
580 0 53   +1 53  nan    53   +1 53  nan  N N
590 0 53 +inf 53   -0    53 +inf 53 -inf  N N
600 0 53 +inf 53   -0    53 +inf 53   -1  N N
610 0 53 +inf 53   -0    53 +inf 53   -0  N N
620 0 53 +inf 53   +0    53 +inf 53   +0  N N
630 0 53 +inf 53   +0    53 +inf 53   +1  N N
640 0 53 +inf 53   +0    53 +inf 53 +inf  N N
650 0 53 +inf 53    0    53 +inf 53  nan  N N
660 0 53 +inf 53   -0    53  nan 53 -inf  N N
670 0 53  nan 53   -1    53  nan 53   -1  N N
680 0 53  nan 53   -0    53  nan 53   -0  N N
690 0 53  nan 53   +0    53  nan 53   +0  N N
700 0 53  nan 53   +1    53  nan 53   +1  N N
710 0 53 +inf 53   +0    53  nan 53 +inf  N N
720 0 53  nan 53  nan    53  nan 53  nan  N N
73
74