Re: compilation problem with module function interface definition
- From: Richard E Maine <nospam@xxxxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 13:40:16 -0700
In article
<VSvce.163099$cg1.100269@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"James Giles" <jamesgiles@xxxxxxxxxxxxxxxx> wrote:
> Richard E Maine wrote:
> > I'd suggest that, assuming compilers supporting both both binary and
> > decimal floats start appearing, it would be wise for users to avoid
> > such mixed-mode operations. [...]
>
> Well, the problem arises under the assumption that the default KIND
> for numeric literals was a decimal KIND (as previously suggested
> in this thread). Given that there are many good reasons that users
> might want their variables and intermediate calculations to use a
> binary KIND, the mixed mode is hard to avoid unless you don't use
> literals at all.
Oh yeah. I guess I sort of passed over that suggestion because I don't
think it will happen. I know that the standard allows it, I just don't
think it will happen anyway. There is too much existing code that
assumes otherwise. Whatever abstract arguments there might be for the
practice, I think compatibility with existing code will outweigh them.
Decimal kinds, sure. But as the default kind, I don't think so.
Maybe I'll be wrong - I don't claim to have a perfect crystal ball; but
that's still what I think.
--
Richard Maine | Good judgment comes from experience;
email: my first.last at org.domain | experience comes from bad judgment.
org: nasa, domain: gov | -- Mark Twain
.
- 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
- Re: compilation problem with module function interface definition
- From: James Giles
- 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: Richard E Maine
- Re: compilation problem with module function interface definition
- From: James Giles
- compilation problem with module function interface definition
- Prev by Date: Re: compilation problem with module function interface definition
- Next by Date: Re: compilation problem with module function interface definition
- Previous by thread: Re: compilation problem with module function interface definition
- Next by thread: Re: compilation problem with module function interface definition
- Index(es):
Relevant Pages
|
|