errors.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Error Message
                                                  Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 4) C4136
 
     conversion between different floating types
 
     Information was lost or truncated between two floating types.
 
     For example, the following code causes this warning:
 
          double doublevar;
          float floatvar;
          floatvar = doublevar;
 
     Note that unsuffixed floating-point constants have type double, so
     the following code causes this warning:
 
          floatvar = 1.0;
 
     If the floating-point constant should be treated as float type,
     use the F (or f) suffix on the constant to prevent the following
     warning:
 
          floatvar = 1.0F;
                                    -♦-