xref: /csrg-svn/lib/libc/stdio/floatio.h (revision 46111)
1*46111Sbostic /*-
2*46111Sbostic  * Copyright (c) 1990 The Regents of the University of California.
3*46111Sbostic  * All rights reserved.
4*46111Sbostic  *
5*46111Sbostic  * This code is derived from software contributed to Berkeley by
6*46111Sbostic  * Chris Torek.
7*46111Sbostic  *
8*46111Sbostic  * %sccs.include.redist.c%
9*46111Sbostic  *
10*46111Sbostic  *	@(#)floatio.h	5.1 (Berkeley) 01/20/91
11*46111Sbostic  */
12*46111Sbostic 
13*46111Sbostic /*
14*46111Sbostic  * Floating point scanf/printf (input/output) definitions.
15*46111Sbostic  */
16*46111Sbostic 
17*46111Sbostic /* 11-bit exponent (VAX G floating point) is 308 decimal digits */
18*46111Sbostic #define	MAXEXP		308
19*46111Sbostic /* 128 bit fraction takes up 39 decimal digits; max reasonable precision */
20*46111Sbostic #define	MAXFRACT	39
21