home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / modu1096.zip / ISOsym / longio.def < prev    next >
Text File  |  1996-08-29  |  982b  |  34 lines

  1. DEFINITION MODULE LongIO;
  2.  
  3. (* Input and output of long real numbers in decimal text form over
  4.    specified channels.
  5.    The read result is of the type IOConsts.ReadResults.
  6. *)
  7.  
  8. (* The text form of a signed fixed-point real number is
  9.      ["+"|"-"], decimal digit, {decimal digit}, [".", {decimal digit}] *)
  10.  
  11. (* The text form of a signed floating-point real number is
  12.      signed fixed-point real number,
  13.      "E", ["+"|"-"], decimal digit, {decimal digit} *)
  14.  
  15. (****************************************************************)
  16. (*                                *)
  17. (*    GPM defines LONGREAL as a type alias of REAL so no    *)
  18. (*      seperate implementation is required.            *)
  19. (*                                *)
  20. (*        LongIO is implemented by RealIO            *)
  21. (*                                *)
  22. (****************************************************************)
  23.  
  24. IMPORT RealIO;
  25.  
  26. CONST
  27.   ReadReal   = RealIO.ReadReal;
  28.   WriteFloat = RealIO.WriteFloat;
  29.   WriteEng   = RealIO.WriteEng;
  30.   WriteFixed = RealIO.WriteFixed;
  31.   WriteReal  = RealIO.WriteReal;
  32.  
  33. END LongIO.
  34.