Re: Reading complex multidimensionalarrays from C
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: Sat, 28 Apr 2007 11:52:31 -0800
Richard Maine wrote:
(snip)
In fact, the f90 standard requires that *EVERY* real kind have a
corresponding complex kind. I have seen vendors try to rationalize that
they can support a quad precision real without also supporting a quad
precision complex, but I don't think that the rationalizations hold up.
The usual rationalization claims that the quad precision real is an
extension and thus that the requirement for a corresonding complex
doesn't apply.
However, I don't buy that rationalization because I don't think such
vendors actually implement quad precision real in a way that counts as
an extension. An extension can't make standard conforming code invalid;
if that happens, the compiler is violating the standard rather than
extending it. The distinction is critical.
If one implemented REAL*16, but not SELECTED_REAL_KIND(30)
would that qualify as an extension not requiring a corresponding
COMPLEX*32? Note that IBM has supported both REAL*16 and
COMPLEX*32 since somewhere around 1968.
-- glen
.
- Follow-Ups:
- Re: Reading complex multidimensionalarrays from C
- From: Richard Maine
- Re: Reading complex multidimensionalarrays from C
- References:
- Reading complex multidimensionalarrays from C
- From: timos
- Re: Reading complex multidimensionalarrays from C
- From: e p chandler
- Re: Reading complex multidimensionalarrays from C
- From: Richard Maine
- Reading complex multidimensionalarrays from C
- Prev by Date: Re: Reading complex multidimensionalarrays from C
- Next by Date: Re: Reading complex multidimensionalarrays from C
- Previous by thread: Re: Reading complex multidimensionalarrays from C
- Next by thread: Re: Reading complex multidimensionalarrays from C
- Index(es):
Relevant Pages
|
|