File: mach32.h

package info (click to toggle)
iraf 2.17-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 95,288 kB
  • sloc: ansic: 228,894; fortran: 75,606; lisp: 18,369; xml: 8,401; sh: 6,111; yacc: 5,648; lex: 596; makefile: 575; asm: 153; csh: 95; sed: 4
file content (27 lines) | stat: -rw-r--r-- 1,011 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Machine Parameters

define	SZB_CHAR	2		# machine bytes per char
define	SZB_ADDR	1		# machine bytes per address increment
define	SZ_VMPAGE	256		# page size (1 if no virtual mem.)
define	MAX_DIGITS 	25		# max digits in a number
define	NDIGITS_RP	7		# number of digits of real precision
define	NDIGITS_DP 	16		# number of digits of precision (double)
define	MAX_EXPONENT	38		# max exponent, base 10
define	MAX_EXPONENTR	38		# IEEE single
define	MAX_EXPONENTD	308		# IEEE double

define	MAX_SHORT	32767		# largest numbers
define	MAX_INT		2147483647
define	MAX_LONG	2147483647
define	MAX_REAL	0.99e37		# anything larger is INDEF
define	MAX_DOUBLE	0.99d307
define	NBITS_BYTE	8		# nbits in a machine byte
define	NBITS_SHORT	16		# nbits in a short	
define	NBITS_INT	32		# nbits in an integer	
define	NBITS_LONG	32		# nbits in a long	
define	EPSILONR	(1.192e-7)	# smallest E such that 1.0 + E > 1.0
define	EPSILOND	(2.220d-16)	# double precision epsilon
define	EPSILON		EPSILONR
define	IEEE_USED	YES

include <swap.h>