home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!barmar
- From: barmar@think.com (Barry Margolin)
- Newsgroups: comp.lang.lisp
- Subject: Re: floating point precision
- Date: 14 Aug 1992 07:37:53 GMT
- Organization: Thinking Machines Corporation, Cambridge MA, USA
- Lines: 14
- Message-ID: <16fnshINN7db@early-bird.think.com>
- References: <1992Aug13.213615.28011@cs.yale.edu>
- NNTP-Posting-Host: gandalf.think.com
-
- In article <1992Aug13.213615.28011@cs.yale.edu> yip-ken@CS.YALE.EDU (ken yip) writes:
- >How can one specify the floating point precision of a numerical
- >routine?
-
- All the mathematical functions in CL are generic, and will operate on any
- floating point types, returning results of the same type (if multiple
- arguments of different types are provided, it will coerce them all to the
- largest one). So, if you want to see the result of performing the
- computation in double-float, provide double floats as the initial input.
- --
- Barry Margolin
- System Manager, Thinking Machines Corp.
-
- barmar@think.com {uunet,harvard}!think!barmar
-