home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / lisp / 2213 < prev    next >
Encoding:
Text File  |  1992-08-13  |  795 b   |  20 lines

  1. Newsgroups: comp.lang.lisp
  2. Path: sparky!uunet!gumby!yale!cs.yale.edu!yip-ken
  3. From: yip-ken@CS.YALE.EDU (ken yip)
  4. Subject: floating point precision
  5. Message-ID: <1992Aug13.213615.28011@cs.yale.edu>
  6. Sender: news@cs.yale.edu (Usenet News)
  7. Nntp-Posting-Host: australia.ai.cs.yale.edu
  8. Organization: Yale University, Department of Computer Science
  9. Date: Thu, 13 Aug 1992 21:36:15 GMT
  10. Lines: 8
  11.  
  12.  
  13. How can one specify the floating point precision of a numerical 
  14. routine?  I was writing a LU-decomposition for solving linear equations.  
  15. To see the effect of precision on accuracy, I want to run the code in 
  16. short-float, double-float, and long-float.  Is there a simple way to 
  17. do this short of explicitly declaring every single variable in the
  18. program and all the functions it call?  I am using Lucid.
  19.  
  20.