From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,dbd5e8a2d19cc3f9 X-Google-Attributes: gidfee84,public From: Steve.Lionel@compaq.com (Steve Lionel) Subject: Re: Inaccurate logarithm in Pascal Date: 1999/03/24 Message-ID: <3704ff18.437611546@usenet.pa.dec.com>#1/1 X-Deja-AN: 458424380 Content-Transfer-Encoding: 7bit References: <7d81qg$soq$1@news.net.uni-c.dk> <36ffa646.349337953@usenet.pa.dec.com> <7dad0r$cha$1@news.net.uni-c.dk> Content-Type: text/plain; charset=us-ascii Organization: Compaq Computer Corporation Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 On Wed, 24 Mar 1999 11:00:54 +0100, "Morten Skaarup Jensen" wrote: > >The error can for example be seen when running the following example: [snip] This program is using single precision arithmetic, which is good to only 7 digits. If you want more, use double. -- Steve Lionel (mailto:Steve.Lionel@compaq.com) Fortran Engineering Compaq Computer Corporation, Nashua NH Compaq Fortran web site: http://www.compaq.com/fortran