xref: /netbsd-src/external/lgpl3/mpc/dist/tests/fma.dat (revision 367b82799ab709709d3c3b541df56a2a14644d3e)
1# Data file for mpc_fma.
2#
3# Copyright (C) 2008, 2010, 2012, 2022 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_IM  PREC_ROP_RE  ROP_RE  PREC_ROP_IM  ROP_IM  PREC_OP1_RE  OP1_RE  PREC_OP1_IM  OP1_IM  PREC_OP2_RE  OP2_RE  PREC_OP2_IM  OP2_IM  PREC_OP3_RE  OP3_RE  PREC_OP3_IM  OP3_IM  RND_RE  RND_IM
24#
25# see sin.dat for precisions
26
27+ - 53 -0x189281b52abc03p-55 53 0x178a1d3cd134e5p-49  53 0x16A09E667F3BCDp-52 53 0x9CC470A049097p-50 53 0x23C6EF372FE95p-48 53 0x9CC470A049097p-50 53 0xA953FD4E97C75p-50 53 0x16A09E667F3BCDp-51 N N
28+ + 53 -0x178a1d3cd134e5p-49 53 -0x189281b52abc03p-55  53 -0x9CC470A049097p-50 53 0x16A09E667F3BCDp-52 53 0x23C6EF372FE95p-48 53 0x9CC470A049097p-50 53 -0x16A09E667F3BCDp-51 53 0xA953FD4E97C75p-50 N N
29+ + 53 -0x178a1d3cd134e5p-49 53 -0x189281b52abc03p-55  53 -0x9CC470A049097p-50 53 0x16A09E667F3BCDp-52 53 0x23C6EF372FE95p-48 53 0x9CC470A049097p-50 53 -0x16A09E667F3BCDp-51 53 0xA953FD4E97C75p-50 U U
300 0 10 0 10 0  10 7 10 5 10 3 10 -12 10 -81 10 69 N N
310 0 10 0 10 0  10 7 10 5 10 3 10 -12 10 -81 10 69 Z D
320 0 2 1 2 1    7 99 7 98 7 97 7 96 7 -194 15 -19009 N N
33
34# Test that gave ternary value + - before release 1.3.0.
35+ + 53 -0b1.1010101001101001100101110101100111110010001001111101e-15 53 -0b1.0010111010001110111110101010110111011111101110111101e198  53 0b1.1100111101000100011100110011110011001110111001110111e-187 53 0b1.0111010010101000100010011101011011010100110011101011e-150 53 -0b1.1101011101000100101010000100010000111100100111000000e171 53 0b1.1010000001011011001110000011110101101001001100001000e-49 53 -0b1.0101100110110000101001001011001111100001010010010100e-192 53 -0b1.0010111010001110111110101010110111011111101110111101e198 N N
36