home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / function / 1037 next >
Encoding:
Text File  |  1992-08-25  |  976 b   |  32 lines

  1. Newsgroups: comp.lang.functional
  2. Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!aet
  3. From: aet@mullian.ee.mu.OZ.AU (bert thompson)
  4. Subject: transcendental functions in Gofer
  5. Message-ID: <aet.714816424@munagin>
  6. Sender: news@cs.mu.OZ.AU
  7. Organization: Computer Science, University of Melbourne, Australia
  8. Date: Wed, 26 Aug 1992 08:07:04 GMT
  9. Lines: 21
  10.  
  11.  
  12. hi!
  13.  
  14. has anyone implemented any functions in Gofer to do any of the following on Floats:
  15.  
  16. sqrt exp log sin atan erf
  17.  
  18. the sqrt is easy, but the limited support for Floats in Gofer means that the others
  19. are hard to do adequately.
  20.  
  21. btw, i don't mind if you've use `primitive' to define them in the interpreter itself.
  22. even if you don't have code, hints would be good. i don't have problems with the
  23. numerical analysis, but the absence of functions to return the exponent and mantissa
  24. of a Float is a real problem. (perhaps Mark Jones might consider defining such
  25. functions a la Haskell in the next release?)
  26.  
  27. many thanks!
  28.  
  29.     bert.
  30.  
  31.  
  32.