home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / formu220.zip / changes.doc next >
Text File  |  1995-05-17  |  1KB  |  62 lines

  1. /* CHANGES.DOC for the FORMULC v2.2 (definitive) package */
  2. /* as of 5/17/94                                   */
  3. /* Copyright (c) 1995 by Harald Helfgott            */
  4.  
  5. Differences between this version of FORMULC and the 9/18/94 (v2.1)
  6. release:
  7.  
  8. 1) Now, the stand-alone UNIX filter accepts a third parameter. This
  9. optional parameter specifies the format of the output.
  10.  
  11. Example:
  12.  
  13.     formulc "a*b+c" "acb" "%f" <data >results
  14.  
  15.     data:
  16.  
  17.      1 3 2
  18.      2 0 9
  19.      4 1 3 
  20.      1 0 2
  21.      -2.4 2 3
  22.     
  23.     results:
  24.  
  25.     5.000000
  26.     18.000000
  27.     13.000000
  28.     2.000000
  29.     -5.200000
  30.  
  31. 2) I have substituted pointers of type Func for pointers of type void *
  32. Now, the declaration of fnew is
  33.  
  34. int fnew(char *name, Func f, int n_of_pars, int varying);
  35.  
  36. Func is declared as a pointer to a function with one double parameter.
  37. If the parameter f of fnew is not this type of function, a typecast is
  38. necessary.
  39.  
  40. (This idea is due to somebody in USENET. I regret having forgotten his
  41. name. If you are this contributor, please send me your name!)
  42.  
  43. 3) FORMULC accepts now random-number generators. Read FORMULC.DOC,
  44. section "Random-Number Generation" for more information.
  45.  
  46. (This idea is due to Ralf Grosse Kunstleve)
  47. 4) Two new functions have been added to the FORMULC interface:
  48.  
  49. double fval_at(formu function);
  50. void make_var(char var, double value);
  51.  
  52. 5) The exponentation operator has now higher precedence than the unary
  53. minus operator.
  54.  
  55.         -x^2 means  -(x^2), not (-x)^2
  56.  
  57. Please read FORMULC.DOC.
  58.  
  59.  
  60.  
  61.  
  62.