Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Morten Skaarup Jensen" <morten@nospam.org>
Subject: Re: Inaccurate logarithm in Pascal
Date: 1999/03/24	[thread overview]
Message-ID: <7db6he$r3i$1@news.net.uni-c.dk> (raw)
In-Reply-To: 7davte$t6n$1@nntpd.lkg.dec.com


>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.






  reply	other threads:[~1999-03-24  5:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-23  5:00 Inaccurate logarithm in Pascal Morten Skaarup Jensen
1999-03-23  5:00 ` Steve Lionel
1999-03-24  5:00   ` Morten Skaarup Jensen
1999-03-24  5:00     ` Jarkko Hietaniemi
1999-03-24  5:00     ` John R. Reagan
1999-03-24  5:00       ` Morten Skaarup Jensen [this message]
1999-03-24  5:00     ` Steve Lionel
1999-03-24  5:00     ` Paul A Sand
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox