2N/A/* Supplemental information about the floating-point formats. 2N/A Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. 2N/A Written by Bruno Haible <bruno@clisp.org>, 2007. 2N/A This program is free software; you can redistribute it and/or modify 2N/A it under the terms of the GNU General Public License as published by 2N/A the Free Software Foundation; either version 3, or (at your option) 2N/A This program is distributed in the hope that it will be useful, 2N/A but WITHOUT ANY WARRANTY; without even the implied warranty of 2N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2N/A GNU General Public License for more details. 2N/A You should have received a copy of the GNU General Public License 2N/A along with this program; if not, write to the Free Software Foundation, 2N/A Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ 2N/A/* Number of bits in the mantissa of a floating-point number, including the 2N/A/* Bit mask that can be used to mask the exponent, as an unsigned number. */ 2N/A/* Number of bits used for the exponent of a floating-point number, including 2N/A the exponent's sign. */ 2N/A/* Number of bits used for a floating-point number: the mantissa (not 2N/A counting the "hidden bit", since it may or may not be explicit), the 2N/A exponent, and the sign. */ 2N/A/* Number of bytes used for a floating-point number. 2N/A This can be smaller than the 'sizeof'. For example, on i386 systems, 2N/A 'long double' most often have LDBL_MANT_BIT = 64, LDBL_EXP_BIT = 16, hence 2N/A LDBL_TOTAL_BIT = 80 bits, i.e. 10 bytes of consecutive memory, but 2N/A sizeof (long double) = 12 or = 16. */ 2N/A/* Verify that SIZEOF_FLT <= sizeof (float) etc. */ 2N/A#
endif /* _FLOATPLUS_H */