date and time created 91/03/06 18:09:53 by bostic
[unix-history] / usr / src / lib / libc / stdio / floatio.h
CommitLineData
c9be6cfe
KB
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * 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 5.1 (Berkeley) %G%
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