home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / alt / lucidem / help / 431 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.6 KB

  1. Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!woody.csd.uu.se!hb
  2. From: hb@woody.csd.uu.se (Henrik B}kman  CSD)
  3. Newsgroups: alt.lucid-emacs.help
  4. Subject: floating-point functions
  5. Date: 15 Sep 1992 09:19:50 GMT
  6. Organization: Uppsala University
  7. Lines: 25
  8. Distribution: world
  9. Message-ID: <1949rmINNis7@corax.udac.uu.se>
  10. NNTP-Posting-Host: woody.csd.uu.se
  11.  
  12.  
  13. I'am looking on some floating-point functions, especially the
  14. missing ones in hpux, and I have some questions.
  15.  
  16. Some of the floating-point functions isn't defined for all values
  17. and returns the special IEEE-754 value 'Nan' and on overflow they
  18. return '+-(infinit)'. There is two C-functions, isnan() and isinf()
  19. which you can check for this special values but I can't find any
  20. such functions in Lucid-emacs. I wonder if there is some functions
  21. like this in Lucid-emacs or if I haven't looked enough or if Lucid-
  22. emacs is handling such math-errors in another way or if Lucid-emacs
  23. doesn't handling such errors at all?
  24.  
  25. If I want to implement the missing functions what should I go for.
  26. Fast and eaisy but with some round-errors or should I make them
  27. return more correct values? That is, can I use already defined functions
  28. or should I use "pure" numerical methods like Newton-Raphson and such?
  29. (I don't want to implement them in PA-RISC assembler :-) )
  30.  
  31. -- 
  32. ----------------------------------------------------------------------
  33. Henrik Bakman           Adress: Box 520          Tel: +46 18 181044
  34. System Manager                  751 20 UPPSALA   Fax: +46 18 521270
  35. Computing Science Dep.          SWEDEN           Email: hb@csd.uu.se
  36. Uppsala University
  37.