sizeof


Purpose:

This program is provided as a convenience for programmers and developers to verify that data is being represented correctly in the AIR package. For AIR versions 3.02 and higher, the program also stores the AIR version and compile time configuration of AIR.


Usage:

sizeof


Examples:

sizeof

The following lists the sizes of various structures and variable types on the machine you are running. The sizes of the same structures and variable types in the development environment are listed in parentheses.
 
struct key_info 40 (40)
struct air16 720 (720)
struc oldair 688 (688)
struct hdr 348 (348)
my_pixels 1 (1 or 2)
 
short int 2 (2)
int 4 (4)
long int 4 (4)
unsigned short int 2 (2)
unsigned int 4 (4)
unsigned long int 4 (4)
char 1 (1)
unsigned char 1 (1)
float 4 (4)
double 8 (8)
 
This is AIR version 3.02
 
Compile time options from AIR.h
PLATF 3
RADIX 2
VERBOSITY 0
PIX_SIZE_ERR 1.000000e-4
PIXEL_MAX_SIZE 1.000000e+01
PIXEL_MIN_SIZE 1.000000e-01
OLD_ANALYZE 0
COMPRESS 1
CLOCK 0
OUTBITS 8
THRESHOLD1 55
THRESHOLD2 55
MAX_POSS_VALUE 255
HDR_SUFF .hdr
IMG_SUFF .img
LOGFILE
NORM_SUFF .nrm
 
The correct radix value for this machine is 2.


Comments:


Modified: October 26, 1997

© 1995-97 Roger P. Woods, M.D.(rwoods@ucla.edu)