(j3.2006) (SC22WG5.5356) [ukfortran] From a colleague

Malcolm Cohen malcolm
Tue Oct 28 21:30:20 EDT 2014

I wrote:
>> Anyway, if NaN's are not an issue (either because you've proved some
>> difficult mathematical theorems about your code, you have some
>> sophisticated error handling mechanism, you are running with the Invalid
>> Exception trap enabled, or you don't care if the bridge falls down/plane
>> falls out of the sky), it is trivial to replace arithmetic IF with newer
>> alternatives.

Nick Maclaren replies:
>And, if you think that it is going to help you with IFs and NaNs, you are
>living in cloud cuckoo land.

That is not acceptable.

I'm not going to dignify the rest of this with any further reply, other than to 
note that running with traps enabled rather obviously *DOES* solve any IF/NaN 
problems by causing program termination.

................................Malcolm Cohen, Nihon NAG, Tokyo. 

More information about the J3 mailing list