2. Embedded QUEL for C : C Variables and Data Types : Variable and Type Declarations : The Floating-point Data Type
 
Share this page                  
The Floating-point Data Type
The preprocessor accepts float and double as floating-point data types. The internal format of double variables is the standard C runtime format.
You can only use a floating-point variable to assign or receive numeric data. You cannot use it to specify numeric objects, such as table field row numbers. Note that long float, a construct allowed in some compilers, is accepted as a synonym for double.
##  float       salary;
##  double      sales;
VMS: If you declare long floating variables to be used with EQUEL statements, you should not compile your program with the g_float command line qualifier when you are using the VAX C compiler. This qualifier changes the long float internal storage format, causing runtime numeric errors.