home *** CD-ROM | disk | FTP | other *** search
- /************************************************************************/
- /* Copyright 1988 by Chuck Musciano and Harris Corporation */
- /* */
- /* Permission to use, copy, modify, and distribute this software */
- /* and its documentation for any purpose and without fee is */
- /* hereby granted, provided that the above copyright notice */
- /* appear in all copies and that both that copyright notice and */
- /* this permission notice appear in supporting documentation, and */
- /* that the name of Chuck Musciano and Harris Corporation not be */
- /* used in advertising or publicity pertaining to distribution */
- /* of the software without specific, written prior permission. */
- /* Chuck Musciano and Harris Corporation make no representations */
- /* about the suitability of this software for any purpose. It is */
- /* provided "as is" without express or implied warranty. */
- /************************************************************************/
-
- /************************************************************************/
- /* */
- /* Manifest constants */
- /* */
- /************************************************************************/
-
- #define PRIVATE static
- #define PUBLIC extern
-
- #define PI ((double) 3.14159265358979323846)
- #define E ((double) 2.71828182845904523536)
-
- #define SCIENTIFIC 0
- #define PROGRAMMER 2
-
- #define BINARY 2
- #define OCTAL 8
- #define DECIMAL 10
- #define HEXADECIMAL 16
-
- #define DEG 0
- #define RAD 1
- #define GRAD 2
-
- #define MAX_MEMORY 42
- #define MAX_STACK 100
-
- #define index_of(x) ((x == BINARY)? 1 : ((x == OCTAL)? 3 : 4))
-
- #ifndef NULL
- #define NULL 0
- #endif NULL
-
- #ifndef TRUE
- #define TRUE 1
- #define FALSE 0
- #endif TRUE
-