home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 355_03 / slk3.exe / TEST / TST / NUMBER.PP < prev    next >
Text File  |  1989-02-16  |  567b  |  43 lines

  1. /* 1/12/86 The format of real numbers was changed by the preprocessor. */
  2. /* Note that the . should not start in column 1. */
  3. numbers()
  4. {
  5.     float f;
  6.  
  7.     f =  .1;
  8.     f = 1.1;
  9.     f = 1.1e3;
  10.     f = 1.1e-3;
  11.     f = 1.1e+3;
  12.     f = 1e-5;
  13.  
  14.     f =  .1f;
  15.     f = 1.1f;
  16.     f = 1.1e3f;
  17.     f = 1.1e-3f;
  18.     f = 1.1e+3f;
  19.     f = 1e-5f;
  20.  
  21.  
  22.     f =  .1F;
  23.     f = 1.1F;
  24.     f = 1.1e3F;
  25.     f = 1.1e-3F;
  26.     f = 1.1e+3F;
  27.     f = 1e-5F;
  28.  
  29.     f =  .1l;
  30.     f = 1.1l;
  31.     f = 1.1e3l;
  32.     f = 1.1e-3l;
  33.     f = 1.1e+3l;
  34.     f = 1e-5l;
  35.  
  36.     f =  .1L;
  37.     f = 1.1L;
  38.     f = 1.1e3L;
  39.     f = 1.1e-3L;
  40.     f = 1.1e+3L;
  41.     f = 1e-5L;
  42. }
  43.