1/* 2Copyright (C) 1993 Free Software Foundation 3 4This file is part of the GNU IO Library. This library is free 5software; you can redistribute it and/or modify it under the 6terms of the GNU General Public License as published by the 7Free Software Foundation; either version 2, or (at your option) 8any later version. 9 10This library is distributed in the hope that it will be useful, 11but WITHOUT ANY WARRANTY; without even the implied warranty of 12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13GNU General Public License for more details. 14 15You should have received a copy of the GNU General Public License 16along with this library; see the file COPYING. If not, write to the Free 17Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 19As a special exception, if you link this library with files 20compiled with a GNU compiler to produce an executable, this does not cause 21the resulting executable to be covered by the GNU General Public License. 22This exception does not however invalidate any other reasons why 23the executable file might be covered by the GNU General Public License. */ 24 25/* 26 * Copyright (c) 1990 The Regents of the University of California. 27 * All rights reserved. 28 * 29 * Redistribution and use in source and binary forms are permitted 30 * provided that the above copyright notice and this paragraph are 31 * duplicated in all such forms and that any documentation, 32 * advertising materials, and other materials related to such 33 * distribution and use acknowledge that the software was developed 34 * by the University of California, Berkeley. The name of the 35 * University may not be used to endorse or promote products derived 36 * from this software without specific prior written permission. 37 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 38 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 39 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 40 * 41 * %W% (Berkeley) %G% 42 */ 43 44/* 45 * Floating point scanf/printf (input/output) definitions. 46 */ 47 48/* 11-bit exponent (VAX G floating point) is 308 decimal digits */ 49#define MAXEXP 308 50/* 128 bit fraction takes up 39 decimal digits; max reasonable precision */ 51#define MAXFRACT 39 52