File:  [Research Unix] / researchv10no / cmd / lcc / ph / machin.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

/* As per your license agreement, your distribution is not to be moved or copied outside the Designated Site
 * without specific permission from Plum Hall Inc.
 */

#ifndef MACHIN_H
#define MACHIN_H

#include <limits.h>
#define SIGNED_CHAR		(CHAR_MIN < 0)		/* Does char sign-extend ... */
#define UNSIGNED_CHAR	(CHAR_MIN == 0)		/* ... or not? */

#define MAX_UCHAR		UCHAR_MAX		/* biggest unsigned character */
#define MAX_USHORT		USHRT_MAX		/* biggest unsigned short */
#define MAX_UINT		UINT_MAX		/* biggest unsigned int */
#define MAX_INT			INT_MAX			/* biggest int */
#define MAX_ULONG		ULONG_MAX		/* biggest unsigned long */
#define MAX_LONG		LONG_MAX		/* biggest long int */

#include <float.h>
#define FDIGITS_MAX 	(FLT_DIG - 1)	/* number of significant digits for single precision comparison. */
#define DIGITS_MAX 		(DBL_DIG - 1)	/* number of significant digits for double precision comparison. */
#define LDIGITS_MAX 	(LDBL_DIG - 1)	/* number of significant digits for long double precision comparison. */
#endif	/* MACHIN_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.