TotalView User Guide : Part V: Debugging : Examining and Changing Data : Changing a Variable’s Data Type : Casting Using the Built-In Types

Casting Using the Built-In Types
TotalView provides a number of predefined types. These types are preceded by a $. You can use these built-in types anywhere you can use the ones defined in your programming language. These types are also useful in debugging executables with no debugging symbol table information. The following table describes the built-in types:
architecture-dependent
The size used is the number of bytes required to hold the shortest instruction for your computer.
The complex types contain a real part and an imaginary part, which are both of type real.
A real*4-precision floating-point complex number.
The complex*8 types contain a real part and an imaginary part, which are both of type real*4.
A real*8-precision floating-point complex number.
The complex*16 types contain a real part and an imaginary part, which are both of type real*8.
double precision
architecture-dependent; often long double
Extended-precision floating-point number. Extended-precision numbers must be supported by the target architecture. In addition, the format of extended floating point numbers varies depending on where it's stored. For example, the x86 register has a special 10-byte format, which is different than the in-memory format. Consult your vendor’s architecture documentation for more information.
long long
When using a value such as real, be careful that the actual data type used by your computer is not real*4 or real*8, since different results can occur.
Wide character whose storage is signed 16 bits (not currently used by any platform)
String composed of $wchar_s16 characters (not currently used by any platform)
String composed of $wchar_u16 characters
String composed of $wchar_s32 characters
String composed of $wchar_u32 characters

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com