James Giles wrote:
> Sure, just adopting the C rule that literals
>
>are double would increase static type errors. That's not really
>much of a price.
>
>
Yes, it is a very big price, both to make the standard consistent, and
to make old programs work. What many compilers currently have, the -r4
and -r8 options, are ideal candidates to standardize. They promote what
the default real kind is and the kind of literals (which we say are of
default kind in the standard), and so consistency is maintained. Any
other rule is a bad idea, IMO.
I have not followed this thread closely, so forgive me if I am repeating
things.
Best,
Aleksandar
|