At 15:11 22-09-2004 -0700, REM wrote:
>On Sep 22, 2004, at 2:39 PM, Catherine Moroney wrote:
>
>>flt_data(add1(isds))%x => qa_data%wind_data%lo_wind_ns%value
>>int_data(add1(isds))%x => qa_data%wind_data%lo_wind_ns%count
>>flt_data(add1(isds))%x => qa_data%wind_data%lo_wind_ew%value
>>int_data(add1(isds))%x => qa_data%wind_data%lo_wind_ew%count
>
>(where add1 increments its argument).
>
>Ouch. I wouldn't trust it. According to me it is invalid.
>And I'd bet that
>someday you'll run into a compiler that figures it would be a good idea
>to optimize the 4 add1 calls by doing it just once.
?? Might if the 4 statements were the same, but ... :-)
> I don't really get much pleasure
> out of saying "I told you so", so I'd recommend against doing it.
\---
Best regards,
Jan van Oosterwijk | "They that can give up essential liberty
Netherlands | to obtain a little temporary safety deserve
| neither liberty nor safety."
| -- Benjamin Franklin (1759)
write(*,*)transfer((/778985834,1869504886,1702130543,1785296754 &
&,1635205227,1868849518,1819160175 /),(/'x'/)) ; end
mailto:Jan <dot> vanOosterwijk <at> wanadoo <dot> NL
http://huizen <dot> dto <dot> tudelft <dot> nl/vanOosterwijk/
|