Re: Decimal Arith in DCL was(RE: Floating point arithmetic support in DCL) in DCL) in DCL)

From: Richard B. Gilbert (rgilbert88_at_comcast.net)
Date: 01/03/04


Date: Fri, 02 Jan 2004 20:26:42 -0500

Yes, commercial calculations involve money and accountants care about
the pennies, no matter how many billions are involved. I wouldn't use
Fortran, C, or DCL for money calculations. If I wanted to convert one
binary floating point format to another, I don't think I'd want to use
Ada for the job. :-)

For DCL, I think I'd be happy with the equivalent of the little four
function promotional giveaway calculators.

Larry Kilgallen wrote:

>In article <NDEMLKKEBOIFBMJLCECIIEGGCJAA.tom@kednos.com>, "Tom Linden" <tom@kednos.com> writes:
>
>
>>< -----Original Message-----
>>< From: Richard B. Gilbert [mailto:rgilbert88@comcast.net]
>>< Sent: Thursday, January 01, 2004 5:42 PM
>>< To: Info-VAX@Mvb.Saic.Com
>>< Subject: Re: Decimal Arith in DCL was(RE: Floating point arithmetic
>>< support in DCL) in DCL) in DCL)
>><
>><
>>< all right, decimal arithmetic instead of floating. With the possible
>>< exception of a COBOL course I took thirty years ago, I don't think I've
>>< ever used decimal arithmetic!! Neither Fortran nor C support the data
>>< type or the operations.
>>
>>That is true, but the world of commerce uses exclusively decimal arithmetic,
>>which is why they use cobol and PL/I to such an extent.
>>
>>
>
>And why, when Ada was specified leading up to 1983 (quite recently as
>languages go) fixed point arithmetic was part of the definition.
>
>When Fortran was developed, there was not a long history of Cobol to
>consider. By the time Ada came along, there were both Cobol and PL/I.
>I shall refrain from commenting regarding C (this time :-).
>
>



Relevant Pages

  • Profitiablity of SPAM / UCE / bulk email ... correctness of calculations help needed!
    ... These calculations originate from my spreadsheet: ... successful money made money made money made Transmission CC approval money ... house assumed at Income HouseSpeed bits/sec 60 mul corr (raw) div: ... x offer) = 3.00 coeff 3 ...
    (sci.math.num-analysis)
  • Re: Tories to build maglev routes?
    ... According to some calculations. ... The general impression (from ... But the money it costs you isn't counted as "tax":) ... The was the NHS functions is very different in Scotland, or Wales, ...
    (uk.railway)
  • Re: Should I use SQL data type money or decimal given .NET datatype is decimal?
    ... If you are storing intermediate calculation values in a table which are ... intermediary values in further calculations. ... database, then money is fine. ... the price for the Product. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: speed up calculation suggestions
    ... We use Fortran for some or our calculations and are being hampered ... Get an updated compiler ... Do you need to process all of the input data? ...
    (comp.lang.fortran)
  • Re: resonance
    ... >> I think that the programs for doing VB calculations are more likely ... >> than not to be written in Fortran, ... I am now one of the authors (as Brian Duke). ... >> cost many K$. ...
    (sci.chem)