home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Pascal / Libraries / Hi-Performance Trigs 1.0 / FastPerfTrigs.Int < prev    next >
Encoding:
Text File  |  1992-12-06  |  436 b   |  20 lines  |  [TEXT/PJMM]

  1. unit FastPerfTrigs;
  2.  
  3. (* Unit to implement fast trig functions using lookup tables *)
  4. interface
  5.  
  6.     const
  7.         TableLoadErr = resNotFound;
  8.         WrongVersionErr = -2;
  9.  
  10.     function InitTrigs: OSErr;
  11.     procedure CloseTrigs;
  12.     function GetSinResolution: integer;
  13.     function GetCosResolution: integer;
  14.     function GetTanResolution: integer;
  15.     function FSin (x: real): real;
  16.     function FCos (x: real): real;
  17.     function FTan (x: real): real;
  18.  
  19. implementation
  20. end.