home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / oct93 / develop / umbscheme.lha / UMBScheme / src / bignum.h < prev    next >
Text File  |  1992-08-04  |  3KB  |  78 lines

  1. /* bignum.h -- UMB Scheme, bignum interface.
  2.  
  3. UMB Scheme Interpreter                  $Revision: 2.5 $
  4. Copyright (C) 1988, 1991 William R Campbell
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 1, or (at your option)
  9. any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20. UMB Scheme was written by Bill Campbell with help from Karl Berry,
  21. Barbara Dixey, Ira Gerstein, Mary Glaser, Kathy Hargreaves, Bill McCabe,
  22. Long Nguyen, Susan Quina, Jeyashree Sivasubram, Bela Sohoni and Thang Quoc Tran.
  23.  
  24. For additional information about UMB Scheme, contact the author:
  25.  
  26.     Bill Campbell
  27.     Department of Mathematics and Computer Science
  28.     University of Massachusetts at Boston
  29.     Harbor Campus
  30.     Boston, MA 02125
  31.  
  32.     Telephone: 617-287-6449        Internet: bill@cs.umb.edu
  33.  
  34. */
  35.  
  36.  
  37. Import Boolean
  38.     Is_Bignum_Zero(), Is_Bignum_Positive(), Is_Bignum_Negative(),
  39.         Is_Bignum_Odd(), Is_Bignum_Even(), Is_Bignum_Exact(), 
  40.     Is_Bignum_Inexact();
  41.  
  42. Import Boolean
  43.     Bignum_Less_Than(), Bignum_Greater_Than(), Bignum_Equal(),
  44.         Bignum_Less_Than_Or_Equal(), Bignum_Greater_Than_Or_Equal();
  45.  
  46. Import void
  47.     Bignum_Add(), Bignum_Subtract(), Bignum_Multiply(),
  48.         Bignum_Divide(), Bignum_Quotient(), Bignum_Remainder(),
  49.     Bignum_Modulo(), Bignum_Negate(), Bignum_Abs(),
  50.     Bignum_Numerator(), Bignum_Denominator(), Bignum_Rationalize();
  51.         
  52. Import void
  53.     Bignum_Max(), Bignum_Min(), Bignum_GCD(), Bignum_LCM();
  54.  
  55. Import void
  56.     Bignum_Floor(), Bignum_Ceiling(), Bignum_Truncate(), Bignum_Round();
  57.  
  58. Import void
  59.     Bignum_Sqrt(), Bignum_Exp(), Bignum_Log(), Bignum_Expt();
  60.  
  61. Import void
  62.         Bignum_Sin(), Bignum_Cos(), Bignum_Tan(),
  63.         Bignum_Asin(), Bignum_Acos(), Bignum_Atan(), Bignum_Atan2();
  64.  
  65. Import void
  66.     Bignum_Exact_To_Inexact(), Bignum_Inexact_To_Exact(),
  67.     Bignum_To_String();
  68.  
  69. Import void
  70.         Bignum_Make_Rectangular(), Bignum_Make_Polar(), 
  71.         Bignum_Real_Part(), Bignum_Imaginary_Part(), 
  72.         Bignum_Magnitude(), Bignum_Angle(); 
  73.  
  74.  
  75. Import void     Make_Small_Bignum();
  76. Import Integer    Bignum_To_Integer();
  77. Import void    Integer_To_Bignum();
  78.