87 lines
3.2 KiB
Plaintext
Raw Normal View History

# Data file for mpc_abs.
#
# 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.
#
# The line format respects the parameter order in function prototype as
# follow:
#
# INEX PREC_ROP ROP PREC_ROP_IM ROP_IM PREC_OP_RE OP_RE PREC_OP_IM OP_IM RND
#
# where op = op_re + i * op_im,
# rop is ROP rounded to nearest to the precision of PREC_ROP
# op_re is OP_RE rounded to nearest to the precision of PREC_OP_RE
# op_im is OP_IM rounded to nearest to the precision of PREC_OP_IM
# ROP is checked against abs(op) rounded to the precision PREC_ROP
# in the direction RND
# INEX is the ternary value with the following notation:
# "?" ternary value not checked
# "+" if ROP is greater than the exact mathematical result
# "0" if ROP is exactly the mathematical result
# "-" if ROP is less than the exact mathematical result
# rounding modes notation:
# "N" is rounding to nearest
# "Z" is rounding towards zero
# "U" is rounding towards plus infinity
# "D" is rounding towards minus infinity
# Use prefixes "0b" for values in base two, "0x" for values in base sixteen,
# no prefix for value in base ten.
# In all bases, "nan" is NaN, "inf" is infinity;
# The sign of the result is checked with "+inf", "-inf", "-0", or "+0".
# special values (following ISO C99 standard)
0 53 +inf 53 -inf 53 -inf N
0 53 +inf 53 -inf 53 -1 N
0 53 +inf 53 -inf 53 -0 N
0 53 +inf 53 -inf 53 +0 N
0 53 +inf 53 -inf 53 +1 N
0 53 +inf 53 -inf 53 +inf N
0 53 +inf 53 -inf 53 nan N
0 53 +inf 53 -1 53 -inf N
0 53 +inf 53 -1 53 +inf N
0 53 nan 53 -1 53 nan N
0 53 +inf 53 -0 53 -inf N
0 53 +0 53 -0 53 -0 N
0 53 +0 53 -0 53 +0 N
0 53 +inf 53 -0 53 +inf N
0 53 nan 53 -0 53 nan N
0 53 +inf 53 +0 53 -inf N
0 53 +0 53 +0 53 -0 N
0 53 +0 53 +0 53 +0 N
0 53 +inf 53 +0 53 +inf N
0 53 nan 53 +0 53 nan N
0 53 +inf 53 +1 53 -inf N
0 53 +inf 53 +1 53 +inf N
0 53 nan 53 +1 53 nan N
0 53 +inf 53 +inf 53 -inf N
0 53 +inf 53 +inf 53 -1 N
0 53 +inf 53 +inf 53 -0 N
0 53 +inf 53 +inf 53 +0 N
0 53 +inf 53 +inf 53 +1 N
0 53 +inf 53 +inf 53 +inf N
0 53 +inf 53 +inf 53 nan N
0 53 +inf 53 nan 53 -inf N
0 53 nan 53 nan 53 -1 N
0 53 nan 53 nan 53 -0 N
0 53 nan 53 nan 53 +0 N
0 53 nan 53 nan 53 +1 N
0 53 +inf 53 nan 53 +inf N
0 53 nan 53 nan 53 nan N