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: "Morten Skaarup Jensen" Subject: Re: Inaccurate logarithm in Pascal Date: 1999/03/24 Message-ID: <7db6he$r3i$1@news.net.uni-c.dk>#1/1 X-Deja-AN: 458469850 References: <7d81qg$soq$1@news.net.uni-c.dk> <36ffa646.349337953@usenet.pa.dec.com> <7dad0r$cha$1@news.net.uni-c.dk> <7davte$t6n$1@nntpd.lkg.dec.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: usenet@news.net.uni-c.dk X-Trace: news.net.uni-c.dk 922295662 27762 130.225.78.145 (24 Mar 1999 17:14:22 GMT) Organization: UNI-C NNTP-Posting-Date: 24 Mar 1999 17:14:22 GMT Newsgroups: comp.unix.osf.osf1 >Remember that a C program will promote the "2" to a double-precision >number, but DEC Pascal only promotes to single-precision. If you change >the "2" to "2D0" to denote a double-precision literal, you'll get the >answer you desire. > Thank you. That has solved my problem.