Re: compilation problem with module function interface definition
- From: "James Giles" <jamesgiles@xxxxxxxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 05:25:16 GMT
glen herrmannsfeldt wrote:
> James Giles wrote:
>
> (snip)
>
>> My own preprocessor treats KINDless literals as type RATIONAL.
>> Mixed mode between RATIONAL and REAL gives a REAL result
>> of the appropriate precision. So, 1.23 is *EXACTLY* 123/100,
>> which is then converted to REAL of the same precision as X when
>> the above assignement is done. (The actual conversion is done
>> in the preprocessor in this case since the argument to the
>> conversion is a statically known.)
>
> Maybe in a few years decimal floating point will get popular, and
> this problem will go away. That is, 1.23 will be exactly 1.23,
> single or double precision. There are people working on an
> efficient float decimal system.
But then what will be the rule for mixed mode between binary
floating point and decimal floating point? Not that it's a bad idea,
but it's something that will have to be addressed.
--
J. Giles
"I conclude that there are two ways of constructing a software
design: One way is to make it so simple that there are obviously
no deficiencies and the other way is to make it so complicated
that there are no obvious deficiencies." -- C. A. R. Hoare
.
- Follow-Ups:
- Re: compilation problem with module function interface definition
- From: glen herrmannsfeldt
- Re: compilation problem with module function interface definition
- References:
- compilation problem with module function interface definition
- From: Phony Account
- Re: compilation problem with module function interface definition
- From: Richard E Maine
- Re: compilation problem with module function interface definition
- From: Phony Account
- Re: compilation problem with module function interface definition
- From: Richard E Maine
- Re: compilation problem with module function interface definition
- From: glen herrmannsfeldt
- Re: compilation problem with module function interface definition
- From: James Giles
- Re: compilation problem with module function interface definition
- From: glen herrmannsfeldt
- compilation problem with module function interface definition
- Prev by Date: Re: compilation problem with module function interface definition
- Next by Date: Re: COMPUTATIONAL FLUID DYNAMICS - Help with SIMPLE algorithm implementation
- Previous by thread: Re: compilation problem with module function interface definition
- Next by thread: Re: compilation problem with module function interface definition
- Index(es):