next up previous contents
Next: TRANSP - Transposing Binary Up: Data Format conversion Previous: H2B - Importing 8   Contents

RECAST - Changing Binary Data Types

Of course, C supports a variety of types, and instead of having a bunch of program to convert each type into every other type, there is a program called ``recast'' that will do the job for a large collection of these types.

Types supported by recast for input and output:

For example, to convert integers to floats
% recast < data.ints  in=int out=float > data.floats
The name of this program derives from the fact that an explicit type conversion in the C-language is called a ``cast.''



John Stockwell 2007-04-10