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

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