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