| Version 1.9 Build 1556
|
|
Next: Debugging Checks
Up: Coding Fundamentals
Previous: Include Files
[This part should be moved into standards/guidelines.]
Rather than the fundamental C types, the following should be used in
their stead:
- Int
A signed integer guaranteed to be at least 32 bits long.
- uInt
An unisgned integer guaranteed to be at least 32 bits long.
- Char
A signed character.
- uChar
An unsigned character.
- Float
- Double
Float and Double are guaranteed to be different sizes. Normally they
will correspond to "float" and "double", however occasionally they might
be set to, e.g., "double" and "long double" if more precision is required.
- Bool
An enumeration for Boolean results. True and False have been defined for
it. Note that C++ will have a native Boolean type in the future.
Note that there are some circumstances, typically involving I/O, where
the native types are required; however normally one of the above
typedef's should be used.
Next: Debugging Checks
Up: Coding Fundamentals
Previous: Include Files
  Contents
  Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc.,
Washington, D.C.
Return to AIPS++ Home Page
2006-10-15